#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.
This commit is contained in:
Anders Carlsson 2002-05-08 17:20:38 +00:00 committed by Anders Carlsson
parent 0494b044d5
commit 8f5c12d76d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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> 2002-05-08 Anders Carlsson <andersca@gnu.org>
* configure.in: * configure.in:

View File

@ -43,9 +43,11 @@ meta_fixed_tip_show (Display *xdisplay, int screen_number,
if (tip == NULL) if (tip == NULL)
{ {
tip = gtk_window_new (GTK_WINDOW_POPUP); tip = gtk_window_new (GTK_WINDOW_POPUP);
#ifdef HAVE_GTK_MULTIHEAD
gtk_window_set_screen (GTK_WINDOW (tip), gtk_window_set_screen (GTK_WINDOW (tip),
gdk_display_get_screen (gdk_get_default_display (), gdk_display_get_screen (gdk_get_default_display (),
screen_number)); screen_number));
#endif
gtk_widget_set_app_paintable (tip, TRUE); gtk_widget_set_app_paintable (tip, TRUE);
gtk_window_set_policy (GTK_WINDOW (tip), FALSE, FALSE, TRUE); gtk_window_set_policy (GTK_WINDOW (tip), FALSE, FALSE, TRUE);
gtk_widget_set_name (tip, "gtk-tooltips"); gtk_widget_set_name (tip, "gtk-tooltips");