From 9125d276f3d9f7ad503d6284aa32f896d43b899e Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 24 Mar 2003 17:14:32 +0000 Subject: forgot to save before committing svn path=/trunk/; revision=20483 --- e-util/e-dialog-utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'e-util/e-dialog-utils.c') diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c index 5637c260ea..cce4d1494f 100644 --- a/e-util/e-dialog-utils.c +++ b/e-util/e-dialog-utils.c @@ -128,7 +128,7 @@ dialog_realized (GtkWindow *dialog, gpointer xid) * parent window. **/ void -e_dialog_set_transient_for_xid (GtkWidget *dialog, +e_dialog_set_transient_for_xid (GtkWindow *dialog, GdkNativeWindow xid) { GdkDisplay *display; @@ -143,14 +143,14 @@ e_dialog_set_transient_for_xid (GtkWidget *dialog, return; } - display = gdk_drawable_get_display (GDK_DRAWABLE (dialog->window)); + display = gdk_drawable_get_display (GDK_DRAWABLE (GTK_WIDGET (dialog)->window)); parent = gdk_window_lookup_for_display (display, xid); if (!parent) { parent = gdk_window_foreign_new_for_display (display, xid); g_return_if_fail (parent != NULL); } - gdk_window_set_transient_for (dialog->window, parent); + gdk_window_set_transient_for (GTK_WIDGET (dialog)->window, parent); } -- cgit