Commit ac4f44b5 authored by Timm Bäder's avatar Timm Bäder 🤔 Committed by Felix Riemann
Browse files

properties-dialog: Port to gtk_show_uri_on_window

https://bugzilla.gnome.org/show_bug.cgi?id=792923
parent 8406461a
......@@ -439,16 +439,16 @@ static void
pd_folder_button_clicked_cb (GtkButton *button, gpointer data)
{
EogPropertiesDialogPrivate *priv = EOG_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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment