[libepc] Replace deprecated GTK_WIDGET_VISIBLE, fixing bug #612108
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libepc] Replace deprecated GTK_WIDGET_VISIBLE, fixing bug #612108
- Date: Thu, 18 Mar 2010 16:56:05 +0000 (UTC)
commit 4968daa0352227893dd6547eaf64b9eb817f25bf
Author: Andre Klapper <a9016009 gmx de>
Date: Sun Mar 7 20:16:49 2010 +0100
Replace deprecated GTK_WIDGET_VISIBLE, fixing bug #612108
* libepc-ui/password-dialog.c: Use new gtk_widget_get_visible() rather
than the deprecated GTK_WIDGET_VISIBLE.
* configure.ac: Bump GTK+ requirement to 2.18.
ChangeLog | 8 ++++++++
configure.ac | 2 +-
libepc-ui/password-dialog.c | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 41a8020..016f3e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-03-07 Andre Klapper <a9016009 gmx de>
+
+ Replace deprecated GTK_WIDGET_VISIBLE, fixing bug #612108
+
+ * libepc-ui/password-dialog.c: Use new gtk_widget_get_visible() rather
+ than the deprecated GTK_WIDGET_VISIBLE.
+ * configure.ac: Bump GTK+ requirement to 2.18.
+
2009-08-21 Josselin Mouette <joss malsain org>
Patch by Petr Salinger.
diff --git a/configure.ac b/configure.ac
index e87be7c..fc48bb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,7 +48,7 @@ PKG_CHECK_MODULES(LIBEPC, [avahi-client >= 0.6
gobject-2.0 >= 2.4
gnutls >= 1.4
uuid >= 1.36])
-PKG_CHECK_MODULES(LIBEPC_UI, [gtk+-2.0 >= 2.10])
+PKG_CHECK_MODULES(LIBEPC_UI, [gtk+-2.0 >= 2.18])
PKG_CHECK_MODULES(LIBSOUP, [libsoup-2.4 >= 2.3],
[LIBSOUP_API=2.4],[
diff --git a/libepc-ui/password-dialog.c b/libepc-ui/password-dialog.c
index 24fb42f..80c2f1e 100644
--- a/libepc-ui/password-dialog.c
+++ b/libepc-ui/password-dialog.c
@@ -404,7 +404,7 @@ gboolean
epc_password_dialog_get_anonymous_allowed (EpcPasswordDialog *self)
{
g_return_val_if_fail (EPC_IS_PASSWORD_DIALOG (self), FALSE);
- return GTK_WIDGET_VISIBLE (self->priv->anonymous);
+ return gtk_widget_get_visible (self->priv->anonymous);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]