[eog] EogMetadataSidebar: fix --without-libexif build



commit 36d2cba817e87f71bfce132c3f89358fca40855e
Author: Alexandre Rostovtsev <tetromino gentoo org>
Date:   Tue Jun 16 23:04:32 2015 -0400

    EogMetadataSidebar: fix --without-libexif build
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751007

 src/eog-metadata-sidebar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-metadata-sidebar.c b/src/eog-metadata-sidebar.c
index bf07830..a08c617 100644
--- a/src/eog-metadata-sidebar.c
+++ b/src/eog-metadata-sidebar.c
@@ -408,6 +408,7 @@ eog_metadata_sidebar_class_init (EogMetadataSidebarClass *klass)
        gtk_widget_class_bind_template_child_private (widget_class,
                                                      EogMetadataSidebar,
                                                      folder_label);
+#if HAVE_EXIF
        gtk_widget_class_bind_template_child_private (widget_class,
                                                      EogMetadataSidebar,
                                                      aperture_label);
@@ -432,6 +433,7 @@ eog_metadata_sidebar_class_init (EogMetadataSidebarClass *klass)
        gtk_widget_class_bind_template_child_private (widget_class,
                                                      EogMetadataSidebar,
                                                      time_label);
+#endif /* HAVE_EXIF */
 }
 
 


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