s/gdk_get_default_display/gdk_display_get_default/

2002-06-25  Mark McLoughlin  <mark@skynet.ie>

        * src/fixedtip.c: (meta_fixed_tip_show):
        * src/frames.c: (meta_frames_new):
        * src/tabpopup.c: (meta_ui_tab_popup_new):
        s/gdk_get_default_display/gdk_display_get_default/
        s/gdk_get_default_screen/gdk_screen_get_default/
This commit is contained in:
Mark McLoughlin 2002-06-25 07:08:18 +00:00 committed by Mark McLoughlin
parent b3a72a61fd
commit f0a811421f
4 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2002-06-25 Mark McLoughlin <mark@skynet.ie>
* src/fixedtip.c: (meta_fixed_tip_show):
* src/frames.c: (meta_frames_new):
* src/tabpopup.c: (meta_ui_tab_popup_new):
s/gdk_get_default_display/gdk_display_get_default/
s/gdk_get_default_screen/gdk_screen_get_default/
2002-06-25 Mark McLoughlin <mark@skynet.ie> 2002-06-25 Mark McLoughlin <mark@skynet.ie>
* src/themes/Crux/active-border-top-left-border.png: * src/themes/Crux/active-border-top-left-border.png:

View File

@ -52,7 +52,7 @@ meta_fixed_tip_show (Display *xdisplay, int screen_number,
{ {
GdkScreen *gdk_screen; GdkScreen *gdk_screen;
gdk_screen = gdk_display_get_screen (gdk_get_default_display (), gdk_screen = gdk_display_get_screen (gdk_display_get_default (),
screen_number); screen_number);
gtk_window_set_screen (GTK_WINDOW (tip), gtk_window_set_screen (GTK_WINDOW (tip),
gdk_screen); gdk_screen);

View File

@ -417,7 +417,7 @@ meta_frames_new (int screen_number)
#ifdef HAVE_GTK_MULTIHEAD #ifdef HAVE_GTK_MULTIHEAD
GdkScreen *screen; GdkScreen *screen;
screen = gdk_display_get_screen (gdk_get_default_display (), screen = gdk_display_get_screen (gdk_display_get_default (),
screen_number); screen_number);
return g_object_new (META_TYPE_FRAMES, return g_object_new (META_TYPE_FRAMES,

View File

@ -115,7 +115,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries,
popup->outline_window = gtk_window_new (GTK_WINDOW_POPUP); popup->outline_window = gtk_window_new (GTK_WINDOW_POPUP);
#ifdef HAVE_GTK_MULTIHEAD #ifdef HAVE_GTK_MULTIHEAD
gtk_window_set_screen (GTK_WINDOW (popup->outline_window), gtk_window_set_screen (GTK_WINDOW (popup->outline_window),
gdk_display_get_screen (gdk_get_default_display (), gdk_display_get_screen (gdk_display_get_default (),
screen_number)); screen_number));
#endif #endif
@ -128,7 +128,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries,
popup->window = gtk_window_new (GTK_WINDOW_POPUP); popup->window = gtk_window_new (GTK_WINDOW_POPUP);
#ifdef HAVE_GTK_MULTIHEAD #ifdef HAVE_GTK_MULTIHEAD
gtk_window_set_screen (GTK_WINDOW (popup->window), gtk_window_set_screen (GTK_WINDOW (popup->window),
gdk_display_get_screen (gdk_get_default_display (), gdk_display_get_screen (gdk_display_get_default (),
screen_number)); screen_number));
#endif #endif