summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-properties-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eom-properties-dialog.c b/src/eom-properties-dialog.c
index a95670c..be376c9 100644
--- a/src/eom-properties-dialog.c
+++ b/src/eom-properties-dialog.c
@@ -406,16 +406,16 @@ static void
pd_folder_button_clicked_cb (GtkButton *button, gpointer data)
{
EomPropertiesDialogPrivate *priv = EOM_PROPERTIES_DIALOG (data)->priv;
- GdkScreen *screen;
+ GtkWindow *window;
guint32 timestamp;
if (!priv->folder_button_uri)
return;
- screen = gtk_widget_get_screen (GTK_WIDGET (button));
timestamp = gtk_get_current_event_time ();
- gtk_show_uri (screen, priv->folder_button_uri, timestamp, NULL);
+ window = GTK_WINDOW (data);
+ gtk_show_uri_on_window (window, priv->folder_button_uri, timestamp, NULL);
}
static gboolean