summaryrefslogtreecommitdiff
path: root/src/caja-image-properties-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-image-properties-page.c')
-rw-r--r--src/caja-image-properties-page.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/caja-image-properties-page.c b/src/caja-image-properties-page.c
index 6ab47019..8cdf19ce 100644
--- a/src/caja-image-properties-page.c
+++ b/src/caja-image-properties-page.c
@@ -378,9 +378,6 @@ append_xmpdata_string (XmpPtr xmp, CajaImagePropertiesPage *page)
static void
load_finished (CajaImagePropertiesPage *page)
{
- GdkPixbufFormat *format;
- char *name, *desc;
-
gtk_widget_destroy (page->details->loading_label);
if (page->details->loader != NULL) {
@@ -389,6 +386,8 @@ load_finished (CajaImagePropertiesPage *page)
if (page->details->got_size)
{
+ GdkPixbufFormat *format;
+ char *name, *desc;
#ifdef HAVE_EXIF
ExifData *exif_data;
#endif /*HAVE_EXIF*/
@@ -461,7 +460,6 @@ file_read_callback (GObject *object,
GInputStream *stream;
gssize count_read;
GError *error;
- int exif_still_loading;
gboolean done_reading;
page = CAJA_IMAGE_PROPERTIES_PAGE (data);
@@ -473,6 +471,7 @@ file_read_callback (GObject *object,
if (count_read > 0)
{
+ int exif_still_loading;
g_assert (count_read <= sizeof(page->details->buffer));