diff options
author | Tor Lillqvist <tml@novell.com> | 2005-11-26 11:15:16 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-11-26 11:15:16 +0800 |
commit | 9fa1e996bc1a3249c0d5ee59752f7117a490d40d (patch) | |
tree | 017efb55cfe2db3440216a48abb8fff0e47be5f8 /e-util | |
parent | 1dc9b4348460ee9771db8eef729bc6396ea646d7 (diff) | |
download | gsoc2013-evolution-9fa1e996bc1a3249c0d5ee59752f7117a490d40d.tar.gz gsoc2013-evolution-9fa1e996bc1a3249c0d5ee59752f7117a490d40d.tar.zst gsoc2013-evolution-9fa1e996bc1a3249c0d5ee59752f7117a490d40d.zip |
e-dialog-utils.c Conditionalize X11 specific code on GDK_WINDOWING_X11.
2005-11-26 Tor Lillqvist <tml@novell.com>
* e-dialog-utils.c
* e-gtk-utils.c: Conditionalize X11 specific code on GDK_WINDOWING_X11.
svn path=/trunk/; revision=30683
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 3 | ||||
-rw-r--r-- | e-util/e-dialog-utils.c | 2 | ||||
-rw-r--r-- | e-util/e-gtk-utils.c | 7 |
3 files changed, 10 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 396f7f4fab..15396534e3 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,6 +1,7 @@ 2005-11-26 Tor Lillqvist <tml@novell.com> - * e-dialog-utils.c: Conditionalize X11 stuff on GDK_WINDOWING_X11. + * e-dialog-utils.c + * e-gtk-utils.c: Conditionalize X11 specific code on GDK_WINDOWING_X11. 2005-11-25 Tor Lillqvist <tml@novell.com> diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c index 4195248fb9..41f5edac22 100644 --- a/e-util/e-dialog-utils.c +++ b/e-util/e-dialog-utils.c @@ -202,7 +202,7 @@ e_dialog_set_transient_for (GtkWindow *dialog, e_dialog_set_transient_for_xid (dialog, parent); #endif #ifdef GDK_WINDOWING_WIN32 - g_warning ("Not implemented: e_dialog_set_transient_for() plug windows"); + g_warning ("Not implemented on Win32: e_dialog_set_transient_for() for plug windows"); #endif } diff --git a/e-util/e-gtk-utils.c b/e-util/e-gtk-utils.c index 99df6fe923..d8282d2c1a 100644 --- a/e-util/e-gtk-utils.c +++ b/e-util/e-gtk-utils.c @@ -35,9 +35,11 @@ #include <gtk/gtkhbox.h> #include <gtk/gtkalignment.h> +#ifdef GDK_WINDOWING_X11 #include <gdk/gdkx.h> #include <X11/Xlib.h> +#endif #include "e-gtk-utils.h" @@ -137,6 +139,7 @@ e_signal_connect_full_while_alive (void *instance, } +#ifdef GDK_WINDOWING_X11 /* BackingStore support. */ static void @@ -156,6 +159,8 @@ widget_realize_callback_for_backing_store (GtkWidget *widget, CWBackingStore, &attributes); } +#endif + /** * e_make_widget_backing_stored: * @widget: A GtkWidget @@ -171,7 +176,9 @@ widget_realize_callback_for_backing_store (GtkWidget *widget, void e_make_widget_backing_stored (GtkWidget *widget) { +#ifdef GDK_WINDOWING_X11 g_signal_connect (widget, "realize", G_CALLBACK (widget_realize_callback_for_backing_store), NULL); +#endif } |