]> git.0d.be Git - empathy.git/commitdiff
gdk_x11_drawable_get_xdisplay() has been renamed, so let's use the specific macro...
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 3 Dec 2010 14:32:49 +0000 (15:32 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 3 Dec 2010 14:32:49 +0000 (15:32 +0100)
libempathy-gtk/empathy-ui-utils.c

index 5761308fa92138e9715b701ef7d130922411adfd..4c128742405b72274640e1b50b70b986c9594de2 100644 (file)
@@ -1564,7 +1564,7 @@ empathy_window_iconify (GtkWindow *window, GtkStatusIcon *status_icon)
 
        gtk_status_icon_get_geometry (status_icon, NULL, &icon_location, NULL);
        gdk_window = gtk_widget_get_window (GTK_WIDGET (window));
-       dpy = gdk_x11_drawable_get_xdisplay (gdk_window);
+       dpy = GDK_WINDOW_XDISPLAY (gdk_window);
 
        data[0] = icon_location.x;
        data[1] = icon_location.y;