[eog] Fix build without XMP support



commit 037affa01e076619fb7ead15833e24d3c5c61d01
Author: Felix Riemann <friemann gnome org>
Date:   Wed Sep 24 23:08:23 2014 +0200

    Fix build without XMP support
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737213

 src/eog-properties-dialog.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/eog-properties-dialog.c b/src/eog-properties-dialog.c
index d89a8a7..c2296fe 100644
--- a/src/eog-properties-dialog.c
+++ b/src/eog-properties-dialog.c
@@ -96,6 +96,9 @@ struct _EogPropertiesDialogPrivate {
        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;
@@ -707,9 +710,6 @@ static void
 eog_properties_dialog_init (EogPropertiesDialog *prop_dlg)
 {
        EogPropertiesDialogPrivate *priv;
-#ifndef HAVE_EXEMPI
-       GtkWidget *xmp_box, *xmp_box_label;
-#endif
 #if HAVE_METADATA
        GtkWidget *sw;
 #endif
@@ -770,8 +770,8 @@ eog_properties_dialog_init (EogPropertiesDialog *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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]