summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2014-03-12 21:15:42 +0100
committerVictor Kareh <[email protected]>2018-08-01 15:55:49 -0400
commit068315f61f962088787d2858335cc4f6b5c7d534 (patch)
treef6cae6c94910a76aa5c65c77787146d5c9009592 /src/eom-window.c
parent734ad19697a8b0cab3dd4530f4ef31cc9981bed6 (diff)
downloadeom-068315f61f962088787d2858335cc4f6b5c7d534.tar.bz2
eom-068315f61f962088787d2858335cc4f6b5c7d534.tar.xz
EomPropertiesDialog: Convert to GtkBuilder template
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/a8343a6
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index e205aa5..f2e3ae3 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -144,7 +144,7 @@ struct _EomWindowPrivate {
GtkWidget *nav;
GtkWidget *message_area;
GtkWidget *toolbar;
- GObject *properties_dlg;
+ GtkWidget *properties_dlg;
GtkActionGroup *actions_window;
GtkActionGroup *actions_image;
@@ -3044,7 +3044,7 @@ eom_window_cmd_print (GtkAction *action, gpointer user_data)
* Returns: (transfer none): a #GtkDialog.
*/
-EomDialog*
+GtkWidget*
eom_window_get_properties_dialog (EomWindow *window)
{
EomWindowPrivate *priv;
@@ -3077,7 +3077,7 @@ eom_window_get_properties_dialog (EomWindow *window)
G_SETTINGS_BIND_GET);
}
- return EOM_DIALOG (priv->properties_dlg);
+ return priv->properties_dlg;
}
static void
@@ -3085,12 +3085,12 @@ eom_window_cmd_properties (GtkAction *action, gpointer user_data)
{
EomWindow *window = EOM_WINDOW (user_data);
EomWindowPrivate *priv;
- EomDialog *dialog;
+ GtkWidget *dialog;
priv = window->priv;
dialog = eom_window_get_properties_dialog (window);
- eom_dialog_show (dialog);
+ gtk_widget_show (dialog);
}
static void