summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@gnu.org>2002-05-08 17:20:38 +0000
committerAnders Carlsson <andersca@src.gnome.org>2002-05-08 17:20:38 +0000
commit8f5c12d76d2b6a63a9ec28c7cdb721c885ba8399 (patch)
tree46872702c2d62f39f730df0b104147b069fb0f49
parent0494b044d50d60e153f5197ea130e7db57a97824 (diff)
downloadmetacity-8f5c12d76d2b6a63a9ec28c7cdb721c885ba8399.tar.gz
metacity-8f5c12d76d2b6a63a9ec28c7cdb721c885ba8399.tar.bz2
#ifdef out call to gtk_window_set_screen, reported by Erwann Chenede.
2002-05-08 Anders Carlsson <andersca@gnu.org> * src/fixedtip.c (meta_fixed_tip_show): #ifdef out call to gtk_window_set_screen, reported by Erwann Chenede.
-rw-r--r--ChangeLog6
-rw-r--r--src/fixedtip.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 13b0e5f..19c2676 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2002-05-08 Anders Carlsson <andersca@gnu.org>
+ * src/fixedtip.c (meta_fixed_tip_show):
+ #ifdef out call to gtk_window_set_screen, reported by
+ Erwann Chenede.
+
+2002-05-08 Anders Carlsson <andersca@gnu.org>
+
* configure.in:
* src/display.c: (meta_display_open):
* src/fixedtip.c: (meta_fixed_tip_show):
diff --git a/src/fixedtip.c b/src/fixedtip.c
index 690576b..c9af6d0 100644
--- a/src/fixedtip.c
+++ b/src/fixedtip.c
@@ -43,9 +43,11 @@ meta_fixed_tip_show (Display *xdisplay, int screen_number,
if (tip == NULL)
{
tip = gtk_window_new (GTK_WINDOW_POPUP);
+#ifdef HAVE_GTK_MULTIHEAD
gtk_window_set_screen (GTK_WINDOW (tip),
gdk_display_get_screen (gdk_get_default_display (),
screen_number));
+#endif
gtk_widget_set_app_paintable (tip, TRUE);
gtk_window_set_policy (GTK_WINDOW (tip), FALSE, FALSE, TRUE);
gtk_widget_set_name (tip, "gtk-tooltips");