im.pidgin.pidgin: 0b976af338b5f88acdb293f4209bc2d555fbdfc6

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sat Oct 27 10:05:35 EDT 2007


-----------------------------------------------------------------
Revision: 0b976af338b5f88acdb293f4209bc2d555fbdfc6
Ancestor: e9379f9f8981167315834fbca26ff208749e3038
Author: nosnilmot at pidgin.im
Date: 2007-10-27T13:36:14
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkutils.c

ChangeLog: 

Guard this X stuff so it's only compiled if GDK_WINDOWING_X11 is defined.
I think this might be necessary for non-X11 non-win32 builds.

-------------- next part --------------
============================================================
--- pidgin/gtkutils.c	bb6fdf091be3c1589f637f07959bfa346078712a
+++ pidgin/gtkutils.c	81bc86cd23af94f421e9ce23a59378e1c2845921
@@ -2858,7 +2858,7 @@ void pidgin_set_urgent(GtkWindow *window
 	gtk_window_set_urgency_hint(window, urgent);
 #elif defined _WIN32
 	winpidgin_window_flash(window, urgent);
-#else
+#elif defined GDK_WINDOWING_X11
 	GdkWindow *gdkwin;
 	XWMHints *hints;
 
@@ -2880,6 +2880,8 @@ void pidgin_set_urgent(GtkWindow *window
 	XSetWMHints(GDK_WINDOW_XDISPLAY(gdkwin),
 	            GDK_WINDOW_XWINDOW(gdkwin), hints);
 	XFree(hints);
+#else
+	/* do something else? */
 #endif
 }
 


More information about the Commits mailing list