[epiphany] ephy-dialog.c: do not use bleeding edge GTK+ API



commit be2dcb8174d199d25d75ef382df81e663e7fe6c7
Author: Xan Lopez <xan gnome org>
Date:   Wed Sep 9 02:04:34 2009 +0300

    ephy-dialog.c: do not use bleeding edge GTK+ API

 lib/ephy-dialog.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 3d2226d..88f3ed6 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -146,18 +146,18 @@ set_sensitivity (PropertyInfo *info, gboolean sensitive)
 
 		for (l = list; l != NULL; l = l->next)
 		{
-			sensitive = gtk_widget_is_sensitive (GTK_WIDGET (l->data)) && sensitive;
+			sensitive = GTK_WIDGET_IS_SENSITIVE (GTK_WIDGET (l->data)) && sensitive;
 			gtk_widget_set_sensitive (GTK_WIDGET (l->data), sensitive);
 		}
 	}
 	else if (info->widget_type == PT_EDITABLE)
 	{
-		sensitive = gtk_widget_is_sensitive (info->widget) && sensitive;
+		sensitive = GTK_WIDGET_IS_SENSITIVE (info->widget) && sensitive;
 		gtk_editable_set_editable (GTK_EDITABLE (info->widget), sensitive);
 	}
 	else
 	{
-		sensitive = gtk_widget_is_sensitive (info->widget) && sensitive;
+		sensitive = GTK_WIDGET_IS_SENSITIVE (info->widget) && sensitive;
 		gtk_widget_set_sensitive (info->widget, sensitive);
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]