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

noreply at xfce.org noreply at xfce.org
Mon Dec 8 23:02:05 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 dab45b288a3c3f022c364c38b4a049d3dde0c54e
Author: Landry Breuil <landry at xfce.org>
Date:   Mon Dec 8 22:38:41 2014 +0100

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

diff --git a/src/process-window.c b/src/process-window.c
index 98c74d1..f349329 100644
--- a/src/process-window.c
+++ b/src/process-window.c
@@ -383,7 +383,9 @@ xtm_process_window_show (GtkWidget *widget)
 	g_return_if_fail (GTK_IS_WIDGET (XTM_PROCESS_WINDOW (widget)->window));
 	gtk_widget_show (XTM_PROCESS_WINDOW (widget)->window);
 	gtk_window_present (GTK_WINDOW (XTM_PROCESS_WINDOW (widget)->window));
+#ifndef HAVE_GTK3
 	GTK_WIDGET_SET_FLAGS (widget, GTK_VISIBLE);
+#endif
 }
 
 static void
@@ -396,7 +398,9 @@ xtm_process_window_hide (GtkWidget *widget)
 	gtk_window_get_position (GTK_WINDOW (XTM_PROCESS_WINDOW (widget)->window), &winx, &winy);
 	gtk_widget_hide (XTM_PROCESS_WINDOW (widget)->window);
 	gtk_window_move (GTK_WINDOW (XTM_PROCESS_WINDOW (widget)->window), winx, winy);
+#ifndef HAVE_GTK3
 	GTK_WIDGET_UNSET_FLAGS (widget, GTK_VISIBLE);
+#endif
 }
 
 GtkTreeModel *

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


More information about the Xfce4-commits mailing list