aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-03-25 01:14:32 +0800
committerDan Winship <danw@src.gnome.org>2003-03-25 01:14:32 +0800
commit9125d276f3d9f7ad503d6284aa32f896d43b899e (patch)
tree5ec936f70f62529ac0881a69b73a2abe709855d0
parent71defb68b93aae249ddfb257d43920e785677cd3 (diff)
downloadgsoc2013-evolution-9125d276f3d9f7ad503d6284aa32f896d43b899e.tar
gsoc2013-evolution-9125d276f3d9f7ad503d6284aa32f896d43b899e.tar.gz
gsoc2013-evolution-9125d276f3d9f7ad503d6284aa32f896d43b899e.tar.bz2
gsoc2013-evolution-9125d276f3d9f7ad503d6284aa32f896d43b899e.tar.lz
gsoc2013-evolution-9125d276f3d9f7ad503d6284aa32f896d43b899e.tar.xz
gsoc2013-evolution-9125d276f3d9f7ad503d6284aa32f896d43b899e.tar.zst
gsoc2013-evolution-9125d276f3d9f7ad503d6284aa32f896d43b899e.zip
forgot to save before committing
svn path=/trunk/; revision=20483
-rw-r--r--e-util/e-dialog-utils.c6
1 files changed, 3 insertions, 3 deletions
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);
}