summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <[email protected]>2018-01-26 11:58:47 +0100
committerVictor Kareh <[email protected]>2018-08-01 15:55:49 -0400
commit8734d0e6e3f55598e3409c1e8d8b5a9b749ed5d6 (patch)
treef4afe6240e9c56ea094ed284f6c3da273f75a712
parent068315f61f962088787d2858335cc4f6b5c7d534 (diff)
downloadeom-8734d0e6e3f55598e3409c1e8d8b5a9b749ed5d6.tar.bz2
eom-8734d0e6e3f55598e3409c1e8d8b5a9b749ed5d6.tar.xz
properties-dialog: Port to gtk_show_uri_on_window
https://bugzilla.gnome.org/show_bug.cgi?id=792923 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/ac4f44b
-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