summaryrefslogtreecommitdiff
path: root/src/ui/tabpopup.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-09-15 08:17:22 -0400
committerThomas Thurman <tthurman@gnome.org>2010-09-15 08:17:22 -0400
commit874f55b645d664925b49ee9972cd82dc39287098 (patch)
treec4720166471a09ad12cec7dcd429506561237946 /src/ui/tabpopup.c
parent4e6a3abe146ea858b0097d230fbdfefd1e1cc14e (diff)
downloadmetacity-874f55b645d664925b49ee9972cd82dc39287098.tar.gz
metacity-874f55b645d664925b49ee9972cd82dc39287098.tar.bz2
Removes usage of (newly deprecated) gdk_display
Diffstat (limited to 'src/ui/tabpopup.c')
-rw-r--r--src/ui/tabpopup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c
index 50f7021..5cc4d71 100644
--- a/src/ui/tabpopup.c
+++ b/src/ui/tabpopup.c
@@ -437,7 +437,7 @@ meta_ui_tab_popup_set_showing (MetaTabPopup *popup,
{
meta_verbose ("Hiding tab popup window\n");
gtk_widget_hide (popup->window);
- meta_core_increment_event_serial (gdk_display);
+ meta_core_increment_event_serial (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
}
}
}
@@ -470,7 +470,7 @@ display_entry (MetaTabPopup *popup,
{
/* Do stuff behind gtk's back */
gdk_window_hide (popup->outline_window->window);
- meta_core_increment_event_serial (gdk_display);
+ meta_core_increment_event_serial (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
rect = te->rect;
rect.x = 0;