diff options
author | Milan Crha <mcrha@redhat.com> | 2009-04-24 17:45:21 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-04-24 17:45:21 +0800 |
commit | 8a072ffc7c0ddcde472877a51ace0bb14f86fb0a (patch) | |
tree | 5c49c7807f24cd118e32e11ad52482b0ce65d0e6 /e-util/e-dialog-utils.c | |
parent | f6792a6f1e60b04ee1c137c9232802df437580f6 (diff) | |
download | gsoc2013-evolution-8a072ffc7c0ddcde472877a51ace0bb14f86fb0a.tar.gz gsoc2013-evolution-8a072ffc7c0ddcde472877a51ace0bb14f86fb0a.tar.zst gsoc2013-evolution-8a072ffc7c0ddcde472877a51ace0bb14f86fb0a.zip |
GN-bug #572348 - Removed deprecated Gtk+ symbols
Some still left, because those gone in kill-bonobo branch.
Diffstat (limited to 'e-util/e-dialog-utils.c')
-rw-r--r-- | e-util/e-dialog-utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c index a3bde484d5..0546430512 100644 --- a/e-util/e-dialog-utils.c +++ b/e-util/e-dialog-utils.c @@ -178,8 +178,8 @@ e_dialog_set_transient_for (GtkWindow *dialog, } #ifdef GDK_WINDOWING_X11 /* Find the top-level windowmanager-managed X Window */ - display = GDK_WINDOW_XDISPLAY (parent_widget->window); - parent = GDK_WINDOW_XID (parent_widget->window); + display = GDK_WINDOW_XDISPLAY (gtk_widget_get_window (parent_widget)); + parent = GDK_WINDOW_XID (gtk_widget_get_window (parent_widget)); while (parent && !window_is_wm_toplevel (display, parent)) { status = XQueryTree (display, parent, &root_ret, @@ -228,7 +228,7 @@ e_dialog_set_transient_for_xid (GtkWindow *dialog, } #ifdef GDK_MULTIHEAD_SAFE - display = gdk_drawable_get_display (GDK_DRAWABLE (GTK_WIDGET (dialog)->window)); + display = gdk_drawable_get_display (GDK_DRAWABLE (gtk_widget_get_window (GTK_WIDGET (dialog)))); parent = gdk_window_lookup_for_display (display, xid); if (!parent) parent = gdk_window_foreign_new_for_display (display, xid); @@ -239,7 +239,7 @@ e_dialog_set_transient_for_xid (GtkWindow *dialog, #endif g_return_if_fail (parent != NULL); - gdk_window_set_transient_for (GTK_WIDGET (dialog)->window, parent); + gdk_window_set_transient_for (gtk_widget_get_window (GTK_WIDGET (dialog)), parent); } |