aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog3
-rw-r--r--e-util/e-dialog-utils.c2
-rw-r--r--e-util/e-gtk-utils.c7
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
}