]> saetta.ns0.it Git - solipa/libsolipa/commitdiff
Cambiamenti per compilare con gtk3 e libgda5. 0.5.0
authorAndrea Zagli <azagli@libero.it>
Thu, 25 Jul 2013 09:39:03 +0000 (11:39 +0200)
committerAndrea Zagli <azagli@libero.it>
Thu, 25 Jul 2013 09:39:03 +0000 (11:39 +0200)
configure.ac
src/mailui.c

index ac17bc20f16d0ead5b9c4c6efff97ee4cabb8c12..f5cafe001353da1091135e2a7c176bce5e1e2e91 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.65)
-AC_INIT([libsolipa], [0.4.0], [azagli@libero.it])
+AC_INIT([libsolipa], [0.5.0], [azagli@libero.it])
 AC_CONFIG_SRCDIR([src/solipa.c])
 AC_CONFIG_HEADER([config.h])
 
@@ -30,12 +30,13 @@ AC_PROG_LIBTOOL
 AC_PROG_RANLIB
 
 # Checks for libraries.
-PKG_CHECK_MODULES(SOLIPA, [gobject-2.0 >= 2.24.0
-                           glib-2.0 >= 2.26.0
-                           libgdaex >= 0.3.0
-                           libgtkform >= 0.3.0
-                           gtk+-2.0 >= 2.20
-                           gio-2.0 >= 2.24])
+PKG_CHECK_MODULES(SOLIPA, [libgdaex >= 0.5.0
+                           libgtkform >= 0.5.0
+                           gio-2.0 >= 2.36
+                           gio-windows-2.0 >= 2.36
+                           gnome-vfs-module-2.0
+                           gtk+-3.0 >= 3.0
+                           gtk+-win32-3.0 >= 3.0])
 
 AC_SUBST(SOLIPA_CFLAGS)
 AC_SUBST(SOLIPA_LIBS)
index 1a35986e533df31d1da83d00862bf7351d1f8f80..77d9dc7c99f65783f0c6c0abe61c8e10741152ab 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011-2012 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2011-2013 Andrea Zagli <azagli@libero.it>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -705,7 +705,7 @@ solipa_mail_ui_set_property (GObject *object,
                                break;
 
                        case PROP_FROM_EDITABLE:
-                               gtk_entry_set_editable (GTK_ENTRY (priv->from), g_value_get_boolean (value));
+                               gtk_editable_set_editable (GTK_EDITABLE (priv->from), g_value_get_boolean (value));
                                break;
 
                        case PROP_TO:
@@ -713,7 +713,7 @@ solipa_mail_ui_set_property (GObject *object,
                                break;
 
                        case PROP_TO_EDITABLE:
-                               gtk_entry_set_editable (GTK_ENTRY (priv->to), g_value_get_boolean (value));
+                               gtk_editable_set_editable (GTK_EDITABLE (priv->to), g_value_get_boolean (value));
                                break;
 
                        case PROP_CC:
@@ -721,7 +721,7 @@ solipa_mail_ui_set_property (GObject *object,
                                break;
 
                        case PROP_CC_EDITABLE:
-                               gtk_entry_set_editable (GTK_ENTRY (priv->cc), g_value_get_boolean (value));
+                               gtk_editable_set_editable (GTK_EDITABLE (priv->cc), g_value_get_boolean (value));
                                break;
 
                        case PROP_CC_VISIBLE:
@@ -742,7 +742,7 @@ solipa_mail_ui_set_property (GObject *object,
                                break;
 
                        case PROP_BCC_EDITABLE:
-                               gtk_entry_set_editable (GTK_ENTRY (priv->bcc), g_value_get_boolean (value));
+                               gtk_editable_set_editable (GTK_EDITABLE (priv->bcc), g_value_get_boolean (value));
                                break;
 
                        case PROP_BCC_VISIBLE:
@@ -763,7 +763,7 @@ solipa_mail_ui_set_property (GObject *object,
                                break;
 
                        case PROP_SUBJECT_EDITABLE:
-                               gtk_entry_set_editable (GTK_ENTRY (priv->subject), g_value_get_boolean (value));
+                               gtk_editable_set_editable (GTK_EDITABLE (priv->subject), g_value_get_boolean (value));
                                break;
 
                        case PROP_WITH_NOTIFICATION: