X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-window.c;h=062dc5d78d535251147bdf4d58b61f0bf575cb49;hb=fe9629b9e072a7a53cc886ed20194e97a48b7865;hp=aeceba8cf087962977f033dcb1812f6267567b4d;hpb=8d43cc37d782fdaa65c8f68b94502ef62382fc6c;p=evince.git diff --git a/shell/ev-window.c b/shell/ev-window.c index aeceba8c..062dc5d7 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1202,7 +1202,7 @@ ev_window_cmd_file_properties (GtkAction *action, EvWindow *ev_window) info = ev_document_get_info (document); dialog = ev_properties_new (info, fonts); - gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW(window)); + gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (ev_window)); gtk_dialog_run (dialog); gtk_widget_destroy (GTK_WIDGET (dialog)); ev_document_info_free (info);