diff options
author | Pablo Barciela <[email protected]> | 2019-06-14 09:30:32 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-06-17 15:18:27 +0200 |
commit | ef29013fdfd0df5d4a3cc6c5a8fb1583aabef952 (patch) | |
tree | 51c2c4afb9259ec97ba3303591bbc8e946f277d9 /src/caja-image-properties-page.c | |
parent | cbd6b367e9b05c08bff88ee1cfa03c09c7ee2558 (diff) | |
download | caja-ef29013fdfd0df5d4a3cc6c5a8fb1583aabef952.tar.bz2 caja-ef29013fdfd0df5d4a3cc6c5a8fb1583aabef952.tar.xz |
src: reduce the scope of some variables
Diffstat (limited to 'src/caja-image-properties-page.c')
-rw-r--r-- | src/caja-image-properties-page.c | 7 |
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)); |