[Xfce4-commits] [apps/xfce4-taskmanager] 09/15: GTK_WIDGET_SET_FLAGS seems to be gtk2 only

noreply at xfce.org noreply at xfce.org
Mon Dec 8 23:02:08 CET 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch landry/gtk3
in repository apps/xfce4-taskmanager.

commit 55591b17ca570d3fe87f34f797533b28150736a7
Author: Landry Breuil <landry at xfce.org>
Date:   Mon Dec 8 22:47:27 2014 +0100

    GTK_WIDGET_SET_FLAGS seems to be gtk2 only
---
 src/settings-dialog.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/settings-dialog.c b/src/settings-dialog.c
index 213c014..cd1ca76 100644
--- a/src/settings-dialog.c
+++ b/src/settings-dialog.c
@@ -170,7 +170,9 @@ xtm_settings_dialog_show (GtkWidget *widget)
 	g_return_if_fail (GTK_IS_WIDGET (XTM_SETTINGS_DIALOG (widget)->window));
 	gtk_widget_show (XTM_SETTINGS_DIALOG (widget)->window);
 	gtk_window_present (GTK_WINDOW (XTM_SETTINGS_DIALOG (widget)->window));
+#ifndef HAVE_GTK3
 	GTK_WIDGET_SET_FLAGS (widget, GTK_VISIBLE);
+#endif
 }
 
 static void
@@ -183,7 +185,9 @@ xtm_settings_dialog_hide (GtkWidget *widget)
 	gtk_window_get_position (GTK_WINDOW (XTM_SETTINGS_DIALOG (widget)->window), &winx, &winy);
 	gtk_widget_hide (XTM_SETTINGS_DIALOG (widget)->window);
 	gtk_window_move (GTK_WINDOW (XTM_SETTINGS_DIALOG (widget)->window), winx, winy);
+#ifndef HAVE_GTK3
 	GTK_WIDGET_UNSET_FLAGS (widget, GTK_VISIBLE);
+#endif
 }
 
 void

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list