diff options
author | Felix Riemann <[email protected]> | 2011-12-19 18:20:30 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-07-08 12:29:16 +0200 |
commit | b1c0911213e74d91059aaa8442898e52e13368af (patch) | |
tree | 535bd586017c56856020abe18397fb579e3775b0 /src/eom-exif-util.h | |
parent | 28fbd143cb1752c3b8fd68b7206e1df679830a8b (diff) | |
download | eom-b1c0911213e74d91059aaa8442898e52e13368af.tar.bz2 eom-b1c0911213e74d91059aaa8442898e52e13368af.tar.xz |
Make Exif/XMP summaries available as sidebar
Makes the data from the properties dialog available as a sidebar.
A button opens the details tab in the properties dialog.
This is graphically still a bit roughg.
Committing it in hopes to get some early feedback.
https://bugzilla.gnome.org/show_bug.cgi?id=616438
origin commit:
https://git.gnome.org/browse/eog/commit/?id=7ac112f
Diffstat (limited to 'src/eom-exif-util.h')
-rw-r--r-- | src/eom-exif-util.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/eom-exif-util.h b/src/eom-exif-util.h index f1bbf62..ebc7122 100644 --- a/src/eom-exif-util.h +++ b/src/eom-exif-util.h @@ -29,20 +29,29 @@ #include <glib.h> #include <glib-object.h> +#include <gtk/gtk.h> #include <libexif/exif-data.h> G_BEGIN_DECLS #define EOM_TYPE_EXIF_DATA eom_exif_data_get_type() -gchar* eom_exif_util_format_date (const gchar *date); +gchar *eom_exif_util_format_date (const gchar *date); +void eom_exif_util_set_label_text (GtkLabel *label, + ExifData *exif_data, + gint tag_id); -const gchar *eom_exif_data_get_value (ExifData *exif_data, gint tag_id, gchar *buffer, guint buf_size); +void eom_exif_util_set_focal_length_label_text (GtkLabel *label, + ExifData *exif_data); + +const gchar *eom_exif_data_get_value (ExifData *exif_data, + gint tag_id, gchar *buffer, + guint buf_size); GType eom_exif_data_get_type (void) G_GNUC_CONST; -ExifData * eom_exif_data_copy (ExifData *data); -void eom_exif_data_free (ExifData *data); +ExifData *eom_exif_data_copy (ExifData *data); +void eom_exif_data_free (ExifData *data); G_END_DECLS |