[gimp] Build with GSEAL_ENABLE
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Build with GSEAL_ENABLE
- Date: Sat, 17 Oct 2009 16:59:59 +0000 (UTC)
commit 171b449132eb271869fe286a64d158f6fc4be1eb
Author: Michael Natterer <mitch gimp org>
Date: Sat Oct 17 18:59:40 2009 +0200
Build with GSEAL_ENABLE
app/actions/gradient-editor-actions.c | 2 +-
app/actions/window-commands.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/actions/gradient-editor-actions.c b/app/actions/gradient-editor-actions.c
index 3e188fd..2790141 100644
--- a/app/actions/gradient-editor-actions.c
+++ b/app/actions/gradient-editor-actions.c
@@ -552,7 +552,7 @@ gradient_editor_actions_update (GimpActionGroup *group,
* insensitive. prevents the gradient from being modified while a
* dialog is running. bug #161411 --mitch
*/
- if (! GTK_WIDGET_SENSITIVE (editor))
+ if (! gtk_widget_is_sensitive (GTK_WIDGET (editor)))
editable = FALSE;
if (! editable)
diff --git a/app/actions/window-commands.c b/app/actions/window-commands.c
index 9c6de2f..5727601 100644
--- a/app/actions/window-commands.c
+++ b/app/actions/window-commands.c
@@ -41,7 +41,7 @@ window_close_cmd_callback (GtkAction *action,
GtkWidget *widget;
return_if_no_widget (widget, data);
- if (! GTK_WIDGET_TOPLEVEL (widget))
+ if (! gtk_widget_is_toplevel (widget))
widget = gtk_widget_get_toplevel (widget);
if (widget && gtk_widget_get_window (widget));
@@ -136,7 +136,7 @@ window_move_to_screen_cmd_callback (GtkAction *action,
GdkScreen *screen;
return_if_no_widget (widget, data);
- if (! GTK_WIDGET_TOPLEVEL (widget))
+ if (! gtk_widget_is_toplevel (widget))
widget = gtk_widget_get_toplevel (widget);
screen = g_object_get_data (G_OBJECT (current), "screen");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]