From 2db11ef0bda6a98c7023dd8987245f77b859f150 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Thu, 25 Jul 2013 11:39:03 +0200 Subject: [PATCH] Cambiamenti per compilare con gtk3 e libgda5. --- configure.ac | 15 ++++++++------- src/mailui.c | 12 ++++++------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac index ac17bc2..f5cafe0 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/src/mailui.c b/src/mailui.c index 1a35986..77d9dc7 100644 --- a/src/mailui.c +++ b/src/mailui.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2012 Andrea Zagli + * Copyright (C) 2011-2013 Andrea Zagli * * 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: -- 2.49.0