[eog] properties-dialog: Port to gtk_show_uri_on_window
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] properties-dialog: Port to gtk_show_uri_on_window
- Date: Sun, 28 Jan 2018 15:57:51 +0000 (UTC)
commit ac4f44b56554459c2fee7b849635ce7769230cfc
Author: Timm Bäder <mail baedert org>
Date: Fri Jan 26 11:58:47 2018 +0100
properties-dialog: Port to gtk_show_uri_on_window
https://bugzilla.gnome.org/show_bug.cgi?id=792923
src/eog-properties-dialog.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/eog-properties-dialog.c b/src/eog-properties-dialog.c
index be2ff63..07507f0 100644
--- a/src/eog-properties-dialog.c
+++ b/src/eog-properties-dialog.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]