summaryrefslogtreecommitdiff
path: root/src/eom-properties-dialog.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-08-05 11:58:02 +0200
committerraveit65 <[email protected]>2018-08-05 11:58:02 +0200
commit22f5b2067bd2c0e820a12da18502b5e7099e984d (patch)
tree8ca68d6246b720b740c74c1842101bb2510932ea /src/eom-properties-dialog.c
parent70fd47058ace7814ec7f83243a62254e887f88ab (diff)
downloadeom-22f5b2067bd2c0e820a12da18502b5e7099e984d.tar.bz2
eom-22f5b2067bd2c0e820a12da18502b5e7099e984d.tar.xz
Fix build without XMP support
https://bugzilla.gnome.org/show_bug.cgi?id=737213 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/037affa
Diffstat (limited to 'src/eom-properties-dialog.c')
-rw-r--r--src/eom-properties-dialog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/eom-properties-dialog.c b/src/eom-properties-dialog.c
index a6c3cf0..d5f6fd7 100644
--- a/src/eom-properties-dialog.c
+++ b/src/eom-properties-dialog.c
@@ -93,6 +93,9 @@ struct _EomPropertiesDialogPrivate {
GtkWidget *xmp_keywords_label;
GtkWidget *xmp_creator_label;
GtkWidget *xmp_rights_label;
+#else
+ GtkWidget *xmp_box;
+ GtkWidget *xmp_box_label;
#endif
#if HAVE_METADATA
GtkWidget *metadata_box;
@@ -685,9 +688,6 @@ static void
eom_properties_dialog_init (EomPropertiesDialog *prop_dlg)
{
EomPropertiesDialogPrivate *priv;
-#ifndef HAVE_EXEMPI
- GtkWidget *xmp_box, *xmp_box_label;
-#endif
#if HAVE_METADATA
GtkWidget *sw;
#endif
@@ -742,8 +742,8 @@ eom_properties_dialog_init (EomPropertiesDialog *prop_dlg)
}
#ifndef HAVE_EXEMPI
- gtk_widget_hide (xmp_box);
- gtk_widget_hide (xmp_box_label);
+ gtk_widget_hide (priv->xmp_box);
+ gtk_widget_hide (priv->xmp_box_label);
#endif
#else