summaryrefslogtreecommitdiff
path: root/src/dialogs/AdjustDateTimeDialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/AdjustDateTimeDialog.c')
-rw-r--r--src/dialogs/AdjustDateTimeDialog.c2077
1 files changed, 1012 insertions, 1065 deletions
diff --git a/src/dialogs/AdjustDateTimeDialog.c b/src/dialogs/AdjustDateTimeDialog.c
index 9eb3020..fe412df 100644
--- a/src/dialogs/AdjustDateTimeDialog.c
+++ b/src/dialogs/AdjustDateTimeDialog.c
@@ -1,4 +1,4 @@
-/* AdjustDateTimeDialog.c generated by valac 0.36.6, the Vala compiler
+/* AdjustDateTimeDialog.c generated by valac 0.40.4, the Vala compiler
* generated from AdjustDateTimeDialog.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -8,6 +8,7 @@
* See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
@@ -32,6 +33,11 @@ typedef struct _AdjustDateTimeDialogClass AdjustDateTimeDialogClass;
typedef struct _AdjustDateTimeDialogPrivate AdjustDateTimeDialogPrivate;
#define ADJUST_DATE_TIME_DIALOG_TYPE_TIME_SYSTEM (adjust_date_time_dialog_time_system_get_type ())
+enum {
+ ADJUST_DATE_TIME_DIALOG_0_PROPERTY,
+ ADJUST_DATE_TIME_DIALOG_NUM_PROPERTIES
+};
+static GParamSpec* adjust_date_time_dialog_properties[ADJUST_DATE_TIME_DIALOG_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define TYPE_DATA_OBJECT (data_object_get_type ())
@@ -171,9 +177,6 @@ static gpointer adjust_date_time_dialog_parent_class = NULL;
GType adjust_date_time_dialog_get_type (void) G_GNUC_CONST;
static GType adjust_date_time_dialog_time_system_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define ADJUST_DATE_TIME_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialogPrivate))
-enum {
- ADJUST_DATE_TIME_DIALOG_DUMMY_PROPERTY
-};
#define ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY ((gint64) ((60 * 60) * 24))
#define ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR ((gint64) (60 * 60))
#define ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE ((gint64) 60)
@@ -184,8 +187,17 @@ GType data_source_get_type (void) G_GNUC_CONST;
GType thumbnail_source_get_type (void) G_GNUC_CONST;
GType media_source_get_type (void) G_GNUC_CONST;
GType dateable_get_type (void) G_GNUC_CONST;
-AdjustDateTimeDialog* adjust_date_time_dialog_new (Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video);
-AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video);
+AdjustDateTimeDialog* adjust_date_time_dialog_new (Dateable* source,
+ gint photo_count,
+ gboolean display_options,
+ gboolean contains_video,
+ gboolean only_video);
+AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type,
+ Dateable* source,
+ gint photo_count,
+ gboolean display_options,
+ gboolean contains_video,
+ gboolean only_video);
gint resources_use_header_bar (void);
GType page_window_get_type (void) G_GNUC_CONST;
GType app_window_get_type (void) G_GNUC_CONST;
@@ -194,35 +206,55 @@ AppWindow* app_window_get_instance (void);
#define RESOURCES_OK_LABEL _ ("_OK")
#define RESOURCES_ADJUST_DATE_TIME_LABEL _ ("Adjust Date and Time")
static void adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self);
-static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self);
-static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender, gpointer self);
-static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender, gpointer self);
-static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender, gpointer self);
+static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected (GtkCalendar* _sender,
+ gpointer self);
+static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender,
+ gpointer self);
+static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender,
+ gpointer self);
+static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender,
+ gpointer self);
GType configuration_facade_get_type (void) G_GNUC_CONST;
GType config_facade_get_type (void) G_GNUC_CONST;
ConfigFacade* config_facade_get_instance (void);
gboolean configuration_facade_get_use_24_hour_time (ConfigurationFacade* self);
-static gboolean adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDialog* self, GtkSpinButton* button);
-static gboolean _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender, gpointer self);
+static gboolean adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDialog* self,
+ GtkSpinButton* button);
+static gboolean _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender,
+ gpointer self);
static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog* self);
-static void _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
+static void _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed (GtkComboBox* _sender,
+ gpointer self);
gboolean configuration_facade_get_keep_relativity (ConfigurationFacade* self);
-static void _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
+static void _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender,
+ gpointer self);
gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self);
-GdkPixbuf* thumbnail_source_get_thumbnail (ThumbnailSource* self, gint scale, GError** error);
+GdkPixbuf* thumbnail_source_get_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error);
gchar* data_object_to_string (DataObject* self);
time_t dateable_get_exposure_time (Dateable* self);
-static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct tm* time);
-static void adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialog* self, gboolean use_24_hr_format);
+static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self,
+ struct tm* time);
+static void adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialog* self,
+ gboolean use_24_hr_format);
static time_t adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self);
-gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* time_shift, gboolean* keep_relativity, gboolean* modify_originals);
-void configuration_facade_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity);
-void configuration_facade_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals);
-void configuration_facade_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time);
+gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self,
+ gint64* time_shift,
+ gboolean* keep_relativity,
+ gboolean* modify_originals);
+void configuration_facade_set_keep_relativity (ConfigurationFacade* self,
+ gboolean keep_relativity);
+void configuration_facade_set_modify_originals (ConfigurationFacade* self,
+ gboolean modify_originals);
+void configuration_facade_set_use_24_hour_time (ConfigurationFacade* self,
+ gboolean use_24_hour_time);
static void adjust_date_time_dialog_finalize (GObject * obj);
-static GType adjust_date_time_dialog_time_system_get_type (void) {
+static GType
+adjust_date_time_dialog_time_system_get_type (void)
+{
static volatile gsize adjust_date_time_dialog_time_system_type_id__volatile = 0;
if (g_once_init_enter (&adjust_date_time_dialog_time_system_type_id__volatile)) {
static const GEnumValue values[] = {{ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM, "ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM", "am"}, {ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM, "ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM", "pm"}, {ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR, "ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR", "24hr"}, {0, NULL, NULL}};
@@ -234,73 +266,100 @@ static GType adjust_date_time_dialog_time_system_get_type (void) {
}
-static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self) {
+static void
+_adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected (GtkCalendar* _sender,
+ gpointer self)
+{
#line 53 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 241 "AdjustDateTimeDialog.c"
+#line 276 "AdjustDateTimeDialog.c"
}
-static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender, gpointer self) {
+static void
+_adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender,
+ gpointer self)
+{
#line 54 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 248 "AdjustDateTimeDialog.c"
+#line 286 "AdjustDateTimeDialog.c"
}
-static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender, gpointer self) {
+static void
+_adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender,
+ gpointer self)
+{
#line 55 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 255 "AdjustDateTimeDialog.c"
+#line 296 "AdjustDateTimeDialog.c"
}
-static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender, gpointer self) {
+static void
+_adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender,
+ gpointer self)
+{
#line 56 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 262 "AdjustDateTimeDialog.c"
+#line 306 "AdjustDateTimeDialog.c"
}
-static gboolean _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender, gpointer self) {
+static gboolean
+_adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender,
+ gpointer self)
+{
gboolean result;
result = adjust_date_time_dialog_on_spin_button_output ((AdjustDateTimeDialog*) self, _sender);
#line 63 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return result;
-#line 271 "AdjustDateTimeDialog.c"
+#line 318 "AdjustDateTimeDialog.c"
}
-static void _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
+static void
+_adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed (GtkComboBox* _sender,
+ gpointer self)
+{
#line 81 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_on_time_system_changed ((AdjustDateTimeDialog*) self);
-#line 278 "AdjustDateTimeDialog.c"
+#line 328 "AdjustDateTimeDialog.c"
}
-static void _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
+static void
+_adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender,
+ gpointer self)
+{
#line 103 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 285 "AdjustDateTimeDialog.c"
+#line 338 "AdjustDateTimeDialog.c"
}
-static void g_time_gm (time_t time, struct tm* result) {
+static void
+g_time_gm (time_t time,
+ struct tm* result)
+{
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2841 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2861 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
gmtime_r (&time, &_tmp0_);
-#line 2841 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2861 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2842 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2862 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2842 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2862 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return;
-#line 300 "AdjustDateTimeDialog.c"
+#line 356 "AdjustDateTimeDialog.c"
}
-static gchar* g_time_format (struct tm *self, const gchar* format) {
+static gchar*
+g_time_format (struct tm *self,
+ const gchar* format)
+{
gchar* result = NULL;
gchar* buffer = NULL;
gchar* _tmp0_;
@@ -308,82 +367,91 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gint _buffer_size_;
gchar* _tmp1_;
gint _tmp1__length1;
- const gchar* _tmp2_;
+ gchar* _tmp2_;
+ gint _tmp2__length1;
gchar* _tmp3_;
- gint _tmp3__length1;
- gchar* _tmp4_;
-#line 2854 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2874 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2855 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2855 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2855 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2855 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2856 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2856 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2856 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp2_ = format;
-#line 2856 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp3_ = buffer;
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp3__length1 = buffer_length1;
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- _tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
- result = _tmp4_;
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ strftime (_tmp1_, _tmp1__length1, format, &(*self));
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp2_ = buffer;
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp2__length1 = buffer_length1;
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ _tmp3_ = g_strdup ((const gchar*) _tmp2_);
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
+ result = _tmp3_;
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 346 "AdjustDateTimeDialog.c"
+#line 402 "AdjustDateTimeDialog.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return self ? g_object_ref (self) : NULL;
-#line 353 "AdjustDateTimeDialog.c"
+#line 411 "AdjustDateTimeDialog.c"
}
-static void g_time_local (time_t time, struct tm* result) {
+static void
+g_time_local (time_t time,
+ struct tm* result)
+{
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2846 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2866 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2846 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2866 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2847 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2867 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2847 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 2867 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return;
-#line 368 "AdjustDateTimeDialog.c"
+#line 429 "AdjustDateTimeDialog.c"
}
-AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video) {
+AdjustDateTimeDialog*
+adjust_date_time_dialog_construct (GType object_type,
+ Dateable* source,
+ gint photo_count,
+ gboolean display_options,
+ gboolean contains_video,
+ gboolean only_video)
+{
AdjustDateTimeDialog * self = NULL;
- Dateable* _tmp0_;
- gint _tmp1_;
- AppWindow* _tmp2_;
- AppWindow* _tmp3_;
+ AppWindow* _tmp0_;
+ AppWindow* _tmp1_;
+ GtkCalendar* _tmp2_;
+ GtkCalendar* _tmp3_;
GtkCalendar* _tmp4_;
GtkCalendar* _tmp5_;
GtkCalendar* _tmp6_;
GtkCalendar* _tmp7_;
- GtkCalendar* _tmp8_;
- GtkCalendar* _tmp9_;
- ConfigFacade* _tmp10_;
- ConfigFacade* _tmp11_;
- gboolean _tmp12_;
- gboolean _tmp13_;
+ ConfigFacade* _tmp8_;
+ ConfigFacade* _tmp9_;
+ gboolean _tmp10_;
+ GtkSpinButton* _tmp13_;
+ GtkSpinButton* _tmp14_;
+ GtkSpinButton* _tmp15_;
GtkSpinButton* _tmp16_;
GtkSpinButton* _tmp17_;
GtkSpinButton* _tmp18_;
@@ -392,770 +460,703 @@ AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Date
GtkSpinButton* _tmp21_;
GtkSpinButton* _tmp22_;
GtkSpinButton* _tmp23_;
- GtkSpinButton* _tmp24_;
- GtkSpinButton* _tmp25_;
- GtkSpinButton* _tmp26_;
+ GtkComboBoxText* _tmp24_;
+ GtkComboBoxText* _tmp25_;
+ GtkComboBoxText* _tmp26_;
GtkComboBoxText* _tmp27_;
GtkComboBoxText* _tmp28_;
- GtkComboBoxText* _tmp29_;
- GtkComboBoxText* _tmp30_;
- GtkComboBoxText* _tmp31_;
GtkBox* clock = NULL;
+ GtkBox* _tmp29_;
+ GtkBox* _tmp30_;
+ GtkSpinButton* _tmp31_;
GtkBox* _tmp32_;
- GtkBox* _tmp33_;
- GtkSpinButton* _tmp34_;
+ GtkLabel* _tmp33_;
+ GtkLabel* _tmp34_;
GtkBox* _tmp35_;
- GtkLabel* _tmp36_;
- GtkLabel* _tmp37_;
- GtkBox* _tmp38_;
- GtkSpinButton* _tmp39_;
+ GtkSpinButton* _tmp36_;
+ GtkBox* _tmp37_;
+ GtkLabel* _tmp38_;
+ GtkLabel* _tmp39_;
GtkBox* _tmp40_;
- GtkLabel* _tmp41_;
- GtkLabel* _tmp42_;
- GtkBox* _tmp43_;
- GtkSpinButton* _tmp44_;
- GtkBox* _tmp45_;
- GtkComboBoxText* _tmp46_;
- GtkRadioButton* _tmp47_;
- GtkRadioButton* _tmp48_;
- ConfigFacade* _tmp49_;
- ConfigFacade* _tmp50_;
- gboolean _tmp51_;
- gboolean _tmp52_ = FALSE;
- gboolean _tmp53_;
- GtkRadioButton* _tmp55_;
- GtkRadioButton* _tmp56_;
- GSList* _tmp57_;
+ GtkSpinButton* _tmp41_;
+ GtkBox* _tmp42_;
+ GtkComboBoxText* _tmp43_;
+ GtkRadioButton* _tmp44_;
+ GtkRadioButton* _tmp45_;
+ ConfigFacade* _tmp46_;
+ ConfigFacade* _tmp47_;
+ gboolean _tmp48_ = FALSE;
+ GtkRadioButton* _tmp49_;
+ GtkRadioButton* _tmp50_;
+ GSList* _tmp51_;
+ GtkRadioButton* _tmp52_;
+ GtkRadioButton* _tmp53_;
+ ConfigFacade* _tmp54_;
+ ConfigFacade* _tmp55_;
+ gboolean _tmp56_ = FALSE;
+ GtkRadioButton* _tmp57_;
GtkRadioButton* _tmp58_;
- GtkRadioButton* _tmp59_;
- ConfigFacade* _tmp60_;
- ConfigFacade* _tmp61_;
- gboolean _tmp62_;
- gboolean _tmp63_ = FALSE;
- gboolean _tmp64_;
- GtkRadioButton* _tmp66_;
- GtkRadioButton* _tmp67_;
+ gboolean _tmp65_ = FALSE;
+ ConfigFacade* _tmp66_;
+ ConfigFacade* _tmp67_;
gboolean _tmp68_;
- gboolean _tmp77_ = FALSE;
- ConfigFacade* _tmp78_;
- ConfigFacade* _tmp79_;
- gboolean _tmp80_;
- gboolean _tmp81_;
- GtkCheckButton* _tmp83_;
- gboolean _tmp84_ = FALSE;
- gboolean _tmp85_;
- GtkCheckButton* _tmp92_;
+ GtkCheckButton* _tmp69_;
+ gboolean _tmp70_ = FALSE;
+ GtkCheckButton* _tmp75_;
GtkBox* time_content = NULL;
- GtkBox* _tmp93_;
+ GtkBox* _tmp76_;
GtkBox* picker = NULL;
- GtkBox* _tmp94_;
+ GtkBox* _tmp77_;
GtkComboBoxText* combo = NULL;
- GtkComboBoxText* _tmp95_;
- GtkBox* _tmp104_;
- GtkComboBoxText* _tmp105_;
+ GtkComboBoxText* _tmp78_;
+ GtkBox* _tmp87_;
+ GtkComboBoxText* _tmp88_;
GtkSpinButton* spin = NULL;
- GtkSpinButton* _tmp106_;
- GtkBox* _tmp107_;
- GtkSpinButton* _tmp108_;
- GtkSpinButton* _tmp109_;
- GtkCalendar* _tmp110_;
- GtkComboBoxText* _tmp111_;
- GtkCalendar* _tmp112_;
+ GtkSpinButton* _tmp89_;
+ GtkBox* _tmp90_;
+ GtkSpinButton* _tmp91_;
+ GtkSpinButton* _tmp92_;
+ GtkCalendar* _tmp93_;
+ GtkComboBoxText* _tmp94_;
+ GtkCalendar* _tmp95_;
+ GtkBox* _tmp96_;
+ GtkBox* _tmp97_;
+ GtkBox* _tmp98_;
+ GtkCalendar* _tmp99_;
+ GtkBox* _tmp100_;
+ GtkBox* _tmp101_;
+ GdkPixbuf* preview = NULL;
+ GtkBox* image_content = NULL;
GtkBox* _tmp113_;
GtkBox* _tmp114_;
GtkBox* _tmp115_;
- GtkCalendar* _tmp116_;
- GtkBox* _tmp117_;
- GtkBox* _tmp118_;
- gboolean _tmp119_;
- GdkPixbuf* preview = NULL;
- GtkBox* image_content = NULL;
+ GtkImage* _tmp116_ = NULL;
+ GdkPixbuf* _tmp117_;
+ GtkImage* image = NULL;
+ GtkImage* _tmp121_;
+ GtkLabel* _tmp122_;
+ GtkBox* _tmp123_;
+ GtkImage* _tmp124_;
+ GtkBox* _tmp125_;
+ GtkLabel* _tmp126_;
+ GtkBox* hbox = NULL;
+ GtkBox* _tmp127_;
+ GtkBox* _tmp128_;
+ GtkBox* _tmp129_;
+ GtkBox* _tmp130_;
+ GtkBox* _tmp131_;
+ GtkBox* _tmp132_;
GtkBox* _tmp133_;
GtkBox* _tmp134_;
GtkBox* _tmp135_;
- GtkImage* _tmp136_ = NULL;
- GdkPixbuf* _tmp137_;
- GtkImage* image = NULL;
- GtkImage* _tmp141_;
- GtkLabel* _tmp142_;
- GtkBox* _tmp143_;
- GtkImage* _tmp144_;
- GtkBox* _tmp145_;
- GtkLabel* _tmp146_;
- GtkBox* hbox = NULL;
- GtkBox* _tmp147_;
- GtkBox* _tmp148_;
- GtkBox* _tmp149_;
- GtkBox* _tmp150_;
- GtkBox* _tmp151_;
- GtkBox* _tmp152_;
- GtkBox* _tmp153_;
- GtkBox* _tmp154_;
- GtkBox* _tmp155_;
- GtkBox* _tmp156_;
- GtkBox* _tmp157_;
- GtkBox* _tmp158_;
- GtkLabel* _tmp159_;
- GtkLabel* _tmp160_;
- GtkLabel* _tmp161_;
- GtkBox* _tmp162_;
- GtkLabel* _tmp163_;
- Dateable* _tmp164_;
- time_t _tmp165_;
- time_t _tmp166_;
- time_t _tmp168_;
- struct tm _tmp169_ = {0};
- ConfigFacade* _tmp170_;
- ConfigFacade* _tmp171_;
- gboolean _tmp172_;
+ GtkBox* _tmp136_;
+ GtkBox* _tmp137_;
+ GtkBox* _tmp138_;
+ GtkLabel* _tmp139_;
+ GtkLabel* _tmp140_;
+ GtkLabel* _tmp141_;
+ GtkBox* _tmp142_;
+ GtkLabel* _tmp143_;
+ time_t _tmp144_;
+ time_t _tmp146_;
+ struct tm _tmp147_ = {0};
+ ConfigFacade* _tmp148_;
+ ConfigFacade* _tmp149_;
GError * _inner_error_ = NULL;
#line 37 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_val_if_fail (IS_DATEABLE (source), NULL);
#line 39 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp0_ = source;
-#line 39 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _vala_assert (_tmp0_ != NULL, "source != null");
+ _vala_assert (source != NULL, "source != null");
#line 41 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp1_ = resources_use_header_bar ();
-#line 41 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self = (AdjustDateTimeDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
+ self = (AdjustDateTimeDialog*) g_object_new (object_type, "use-header-bar", resources_use_header_bar (), NULL);
#line 43 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 44 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 45 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp2_ = app_window_get_instance ();
+ _tmp0_ = app_window_get_instance ();
#line 45 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp3_ = _tmp2_;
+ _tmp1_ = _tmp0_;
#line 45 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_window_get_type (), GtkWindow));
+ gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow));
#line 45 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp3_);
+ _g_object_unref0 (_tmp1_);
#line 47 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_OK_LABEL, GTK_RESPONSE_OK, NULL);
#line 49 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), RESOURCES_ADJUST_DATE_TIME_LABEL);
#line 51 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp4_ = (GtkCalendar*) gtk_calendar_new ();
+ _tmp2_ = (GtkCalendar*) gtk_calendar_new ();
#line 51 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp4_);
+ g_object_ref_sink (_tmp2_);
#line 51 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->calendar);
#line 51 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->calendar = _tmp4_;
+ self->priv->calendar = _tmp2_;
#line 52 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp5_ = self->priv->calendar;
+ _tmp3_ = self->priv->calendar;
#line 52 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_set (_tmp5_, "show-heading", FALSE, NULL);
+ g_object_set (_tmp3_, "show-heading", FALSE, NULL);
#line 53 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp6_ = self->priv->calendar;
+ _tmp4_ = self->priv->calendar;
#line 53 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (_tmp6_, "day-selected", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected, self, 0);
+ g_signal_connect_object (_tmp4_, "day-selected", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected, self, 0);
#line 54 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp7_ = self->priv->calendar;
+ _tmp5_ = self->priv->calendar;
#line 54 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (_tmp7_, "month-changed", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed, self, 0);
+ g_signal_connect_object (_tmp5_, "month-changed", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed, self, 0);
#line 55 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp8_ = self->priv->calendar;
+ _tmp6_ = self->priv->calendar;
#line 55 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (_tmp8_, "next-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year, self, 0);
+ g_signal_connect_object (_tmp6_, "next-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year, self, 0);
#line 56 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp9_ = self->priv->calendar;
+ _tmp7_ = self->priv->calendar;
#line 56 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (_tmp9_, "prev-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year, self, 0);
+ g_signal_connect_object (_tmp7_, "prev-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year, self, 0);
#line 58 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp10_ = config_facade_get_instance ();
+ _tmp8_ = config_facade_get_instance ();
#line 58 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp11_ = _tmp10_;
+ _tmp9_ = _tmp8_;
#line 58 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp12_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp10_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 58 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp13_ = _tmp12_;
+ _g_object_unref0 (_tmp9_);
#line 58 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp11_);
-#line 58 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp13_) {
-#line 579 "AdjustDateTimeDialog.c"
- GtkSpinButton* _tmp14_;
+ if (_tmp10_) {
+#line 627 "AdjustDateTimeDialog.c"
+ GtkSpinButton* _tmp11_;
#line 59 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp14_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 23, (gdouble) 1);
+ _tmp11_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 23, (gdouble) 1);
#line 59 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp14_);
+ g_object_ref_sink (_tmp11_);
#line 59 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->hour);
#line 59 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->hour = _tmp14_;
-#line 589 "AdjustDateTimeDialog.c"
+ self->priv->hour = _tmp11_;
+#line 637 "AdjustDateTimeDialog.c"
} else {
- GtkSpinButton* _tmp15_;
+ GtkSpinButton* _tmp12_;
#line 61 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp15_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 1, (gdouble) 12, (gdouble) 1);
+ _tmp12_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 1, (gdouble) 12, (gdouble) 1);
#line 61 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp15_);
+ g_object_ref_sink (_tmp12_);
#line 61 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->hour);
#line 61 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->hour = _tmp15_;
-#line 600 "AdjustDateTimeDialog.c"
+ self->priv->hour = _tmp12_;
+#line 648 "AdjustDateTimeDialog.c"
}
#line 63 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp16_ = self->priv->hour;
+ _tmp13_ = self->priv->hour;
#line 63 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (_tmp16_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
+ g_signal_connect_object (_tmp13_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
#line 64 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp17_ = self->priv->hour;
+ _tmp14_ = self->priv->hour;
#line 64 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_entry_get_type (), GtkEntry), 2);
+ gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_entry_get_type (), GtkEntry), 2);
#line 65 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp18_ = self->priv->hour;
+ _tmp15_ = self->priv->hour;
#line 65 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_entry_get_type (), GtkEntry), 2);
+ gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_entry_get_type (), GtkEntry), 2);
#line 67 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp19_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1);
+ _tmp16_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1);
#line 67 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp19_);
+ g_object_ref_sink (_tmp16_);
#line 67 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->minute);
#line 67 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->minute = _tmp19_;
+ self->priv->minute = _tmp16_;
#line 68 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp20_ = self->priv->minute;
+ _tmp17_ = self->priv->minute;
#line 68 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_entry_get_type (), GtkEntry), 2);
+ gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_entry_get_type (), GtkEntry), 2);
#line 69 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp21_ = self->priv->minute;
+ _tmp18_ = self->priv->minute;
#line 69 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_entry_get_type (), GtkEntry), 2);
+ gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_entry_get_type (), GtkEntry), 2);
#line 70 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp22_ = self->priv->minute;
+ _tmp19_ = self->priv->minute;
#line 70 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (_tmp22_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
+ g_signal_connect_object (_tmp19_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
#line 72 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp23_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1);
+ _tmp20_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1);
#line 72 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp23_);
+ g_object_ref_sink (_tmp20_);
#line 72 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->second);
#line 72 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->second = _tmp23_;
+ self->priv->second = _tmp20_;
#line 73 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp24_ = self->priv->second;
+ _tmp21_ = self->priv->second;
#line 73 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_entry_get_type (), GtkEntry), 2);
+ gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_entry_get_type (), GtkEntry), 2);
#line 74 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp25_ = self->priv->second;
+ _tmp22_ = self->priv->second;
#line 74 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_entry_get_type (), GtkEntry), 2);
+ gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_entry_get_type (), GtkEntry), 2);
#line 75 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp26_ = self->priv->second;
+ _tmp23_ = self->priv->second;
#line 75 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (_tmp26_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
+ g_signal_connect_object (_tmp23_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
#line 77 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp27_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
+ _tmp24_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
#line 77 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp27_);
+ g_object_ref_sink (_tmp24_);
#line 77 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->system);
#line 77 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->system = _tmp27_;
+ self->priv->system = _tmp24_;
#line 78 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp28_ = self->priv->system;
+ _tmp25_ = self->priv->system;
#line 78 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_combo_box_text_append_text (_tmp28_, _ ("AM"));
+ gtk_combo_box_text_append_text (_tmp25_, _ ("AM"));
#line 79 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp29_ = self->priv->system;
+ _tmp26_ = self->priv->system;
#line 79 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_combo_box_text_append_text (_tmp29_, _ ("PM"));
+ gtk_combo_box_text_append_text (_tmp26_, _ ("PM"));
#line 80 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp30_ = self->priv->system;
+ _tmp27_ = self->priv->system;
#line 80 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_combo_box_text_append_text (_tmp30_, _ ("24 Hr"));
+ gtk_combo_box_text_append_text (_tmp27_, _ ("24 Hr"));
#line 81 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp31_ = self->priv->system;
+ _tmp28_ = self->priv->system;
#line 81 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed, self, 0);
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed, self, 0);
#line 83 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp32_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
+ _tmp29_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
#line 83 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp32_);
+ g_object_ref_sink (_tmp29_);
#line 83 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- clock = _tmp32_;
+ clock = _tmp29_;
#line 85 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp33_ = clock;
+ _tmp30_ = clock;
#line 85 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp34_ = self->priv->hour;
+ _tmp31_ = self->priv->hour;
#line 85 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp33_, G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp30_, G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 86 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp35_ = clock;
+ _tmp32_ = clock;
#line 86 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp36_ = (GtkLabel*) gtk_label_new (":");
+ _tmp33_ = (GtkLabel*) gtk_label_new (":");
#line 86 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp36_);
+ g_object_ref_sink (_tmp33_);
#line 86 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp37_ = _tmp36_;
+ _tmp34_ = _tmp33_;
#line 86 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp35_, G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp32_, G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 86 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp37_);
+ _g_object_unref0 (_tmp34_);
#line 87 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp38_ = clock;
+ _tmp35_ = clock;
#line 87 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp39_ = self->priv->minute;
+ _tmp36_ = self->priv->minute;
#line 87 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp38_, G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp35_, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 88 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp40_ = clock;
+ _tmp37_ = clock;
#line 88 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp41_ = (GtkLabel*) gtk_label_new (":");
+ _tmp38_ = (GtkLabel*) gtk_label_new (":");
#line 88 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp41_);
+ g_object_ref_sink (_tmp38_);
#line 88 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp42_ = _tmp41_;
+ _tmp39_ = _tmp38_;
#line 88 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp40_, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 88 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp42_);
+ _g_object_unref0 (_tmp39_);
#line 89 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp43_ = clock;
+ _tmp40_ = clock;
#line 89 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp44_ = self->priv->second;
+ _tmp41_ = self->priv->second;
#line 89 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp43_, G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp40_, G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 90 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp45_ = clock;
+ _tmp42_ = clock;
#line 90 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp46_ = self->priv->system;
+ _tmp43_ = self->priv->system;
#line 90 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp45_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp42_, G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 92 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
#line 94 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp47_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (NULL, _ ("_Shift photos/videos by the same amount"));
+ _tmp44_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (NULL, _ ("_Shift photos/videos by the same amount"));
#line 94 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp47_);
+ g_object_ref_sink (_tmp44_);
#line 94 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->relativity_radio_button);
#line 94 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->relativity_radio_button = _tmp47_;
-#line 96 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp48_ = self->priv->relativity_radio_button;
+ self->priv->relativity_radio_button = _tmp44_;
#line 96 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp49_ = config_facade_get_instance ();
+ _tmp45_ = self->priv->relativity_radio_button;
#line 96 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp50_ = _tmp49_;
+ _tmp46_ = config_facade_get_instance ();
#line 96 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp51_ = configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp47_ = _tmp46_;
#line 96 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp51_);
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_toggle_button_get_type (), GtkToggleButton), configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)));
#line 96 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp50_);
-#line 97 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp53_ = display_options;
-#line 97 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp53_) {
-#line 758 "AdjustDateTimeDialog.c"
- gint _tmp54_;
+ _g_object_unref0 (_tmp47_);
#line 97 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp54_ = photo_count;
+ if (display_options) {
#line 97 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp52_ = _tmp54_ > 1;
-#line 764 "AdjustDateTimeDialog.c"
+ _tmp48_ = photo_count > 1;
+#line 804 "AdjustDateTimeDialog.c"
} else {
#line 97 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp52_ = FALSE;
-#line 768 "AdjustDateTimeDialog.c"
+ _tmp48_ = FALSE;
+#line 808 "AdjustDateTimeDialog.c"
}
#line 97 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp55_ = self->priv->relativity_radio_button;
+ _tmp49_ = self->priv->relativity_radio_button;
#line 97 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_widget_get_type (), GtkWidget), _tmp52_);
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_widget_get_type (), GtkWidget), _tmp48_);
#line 99 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp56_ = self->priv->relativity_radio_button;
+ _tmp50_ = self->priv->relativity_radio_button;
#line 99 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp57_ = gtk_radio_button_get_group (_tmp56_);
+ _tmp51_ = gtk_radio_button_get_group (_tmp50_);
#line 99 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp58_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (_tmp57_, _ ("Set _all photos/videos to this time"));
+ _tmp52_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (_tmp51_, _ ("Set _all photos/videos to this time"));
#line 99 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp58_);
+ g_object_ref_sink (_tmp52_);
#line 99 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->batch_radio_button);
#line 99 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->batch_radio_button = _tmp58_;
-#line 101 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp59_ = self->priv->batch_radio_button;
+ self->priv->batch_radio_button = _tmp52_;
#line 101 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp60_ = config_facade_get_instance ();
+ _tmp53_ = self->priv->batch_radio_button;
#line 101 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp61_ = _tmp60_;
+ _tmp54_ = config_facade_get_instance ();
#line 101 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp62_ = configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp55_ = _tmp54_;
#line 101 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_toggle_button_get_type (), GtkToggleButton), !_tmp62_);
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_toggle_button_get_type (), GtkToggleButton), !configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)));
#line 101 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp61_);
-#line 102 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp64_ = display_options;
+ _g_object_unref0 (_tmp55_);
#line 102 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp64_) {
-#line 802 "AdjustDateTimeDialog.c"
- gint _tmp65_;
+ if (display_options) {
#line 102 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp65_ = photo_count;
-#line 102 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp63_ = _tmp65_ > 1;
-#line 808 "AdjustDateTimeDialog.c"
+ _tmp56_ = photo_count > 1;
+#line 840 "AdjustDateTimeDialog.c"
} else {
#line 102 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp63_ = FALSE;
-#line 812 "AdjustDateTimeDialog.c"
+ _tmp56_ = FALSE;
+#line 844 "AdjustDateTimeDialog.c"
}
#line 102 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp66_ = self->priv->batch_radio_button;
+ _tmp57_ = self->priv->batch_radio_button;
#line 102 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp66_, gtk_widget_get_type (), GtkWidget), _tmp63_);
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, gtk_widget_get_type (), GtkWidget), _tmp56_);
#line 103 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp67_ = self->priv->batch_radio_button;
+ _tmp58_ = self->priv->batch_radio_button;
#line 103 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled, self, 0);
-#line 105 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp68_ = contains_video;
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled, self, 0);
#line 105 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp68_) {
-#line 826 "AdjustDateTimeDialog.c"
+ if (contains_video) {
+#line 856 "AdjustDateTimeDialog.c"
gchar* text = NULL;
- gint _tmp69_;
- gchar* _tmp70_;
- const gchar* _tmp71_;
- GtkCheckButton* _tmp72_;
-#line 106 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp69_ = photo_count;
+ gchar* _tmp59_;
+ const gchar* _tmp60_;
+ GtkCheckButton* _tmp61_;
#line 106 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp70_ = g_strdup (ngettext ("_Modify original photo file", "_Modify original photo files", (gulong) _tmp69_));
+ _tmp59_ = g_strdup (ngettext ("_Modify original photo file", "_Modify original photo files", (gulong) photo_count));
#line 106 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- text = _tmp70_;
+ text = _tmp59_;
#line 108 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp71_ = text;
+ _tmp60_ = text;
#line 108 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp72_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp71_);
+ _tmp61_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp60_);
#line 108 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp72_);
+ g_object_ref_sink (_tmp61_);
#line 108 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->modify_originals_check_button);
#line 108 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->modify_originals_check_button = _tmp72_;
+ self->priv->modify_originals_check_button = _tmp61_;
#line 105 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_free0 (text);
-#line 850 "AdjustDateTimeDialog.c"
+#line 877 "AdjustDateTimeDialog.c"
} else {
gchar* text = NULL;
- gint _tmp73_;
- gchar* _tmp74_;
- const gchar* _tmp75_;
- GtkCheckButton* _tmp76_;
-#line 110 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp73_ = photo_count;
+ gchar* _tmp62_;
+ const gchar* _tmp63_;
+ GtkCheckButton* _tmp64_;
#line 110 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp74_ = g_strdup (ngettext ("_Modify original file", "_Modify original files", (gulong) _tmp73_));
+ _tmp62_ = g_strdup (ngettext ("_Modify original file", "_Modify original files", (gulong) photo_count));
#line 110 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- text = _tmp74_;
+ text = _tmp62_;
#line 111 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp75_ = text;
+ _tmp63_ = text;
#line 111 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp76_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp75_);
+ _tmp64_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp63_);
#line 111 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp76_);
+ g_object_ref_sink (_tmp64_);
#line 111 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->modify_originals_check_button);
#line 111 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->modify_originals_check_button = _tmp76_;
+ self->priv->modify_originals_check_button = _tmp64_;
#line 105 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_free0 (text);
-#line 875 "AdjustDateTimeDialog.c"
+#line 899 "AdjustDateTimeDialog.c"
}
#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp78_ = config_facade_get_instance ();
-#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp79_ = _tmp78_;
+ _tmp66_ = config_facade_get_instance ();
#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp80_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp67_ = _tmp66_;
#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp81_ = _tmp80_;
+ _tmp68_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp79_);
+ _g_object_unref0 (_tmp67_);
#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp81_) {
-#line 889 "AdjustDateTimeDialog.c"
- gboolean _tmp82_;
-#line 115 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp82_ = display_options;
+ if (_tmp68_) {
#line 115 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp77_ = _tmp82_;
-#line 895 "AdjustDateTimeDialog.c"
+ _tmp65_ = display_options;
+#line 913 "AdjustDateTimeDialog.c"
} else {
#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp77_ = FALSE;
-#line 899 "AdjustDateTimeDialog.c"
+ _tmp65_ = FALSE;
+#line 917 "AdjustDateTimeDialog.c"
}
#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp83_ = self->priv->modify_originals_check_button;
+ _tmp69_ = self->priv->modify_originals_check_button;
#line 114 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp77_);
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp65_);
#line 116 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp85_ = only_video;
-#line 116 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (!_tmp85_) {
-#line 909 "AdjustDateTimeDialog.c"
- gboolean _tmp86_ = FALSE;
- ConfigFacade* _tmp87_;
- ConfigFacade* _tmp88_;
- gboolean _tmp89_;
- gboolean _tmp90_;
-#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp87_ = config_facade_get_instance ();
-#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp88_ = _tmp87_;
+ if (!only_video) {
+#line 925 "AdjustDateTimeDialog.c"
+ gboolean _tmp71_ = FALSE;
+ ConfigFacade* _tmp72_;
+ ConfigFacade* _tmp73_;
+ gboolean _tmp74_;
#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp89_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp72_ = config_facade_get_instance ();
#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp90_ = !_tmp89_;
+ _tmp73_ = _tmp72_;
#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp88_);
+ _tmp74_ = !configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp90_) {
-#line 927 "AdjustDateTimeDialog.c"
- gboolean _tmp91_;
+ _g_object_unref0 (_tmp73_);
#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp91_ = display_options;
+ if (_tmp74_) {
#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp86_ = _tmp91_;
-#line 933 "AdjustDateTimeDialog.c"
+ _tmp71_ = display_options;
+#line 942 "AdjustDateTimeDialog.c"
} else {
#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp86_ = FALSE;
-#line 937 "AdjustDateTimeDialog.c"
+ _tmp71_ = FALSE;
+#line 946 "AdjustDateTimeDialog.c"
}
#line 117 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp84_ = _tmp86_;
-#line 941 "AdjustDateTimeDialog.c"
+ _tmp70_ = _tmp71_;
+#line 950 "AdjustDateTimeDialog.c"
} else {
#line 116 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp84_ = FALSE;
-#line 945 "AdjustDateTimeDialog.c"
+ _tmp70_ = FALSE;
+#line 954 "AdjustDateTimeDialog.c"
}
#line 116 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp92_ = self->priv->modify_originals_check_button;
+ _tmp75_ = self->priv->modify_originals_check_button;
#line 116 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp92_, gtk_widget_get_type (), GtkWidget), _tmp84_);
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_widget_get_type (), GtkWidget), _tmp70_);
#line 119 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp93_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
+ _tmp76_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
#line 119 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp93_);
+ g_object_ref_sink (_tmp76_);
#line 119 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time_content = _tmp93_;
+ time_content = _tmp76_;
#line 121 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp94_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
+ _tmp77_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
#line 121 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp94_);
+ g_object_ref_sink (_tmp77_);
#line 121 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- picker = _tmp94_;
+ picker = _tmp77_;
#line 122 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp95_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
+ _tmp78_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
#line 122 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp95_);
+ g_object_ref_sink (_tmp78_);
#line 122 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- combo = _tmp95_;
-#line 969 "AdjustDateTimeDialog.c"
+ combo = _tmp78_;
+#line 978 "AdjustDateTimeDialog.c"
{
gint i = 0;
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
i = 0;
-#line 974 "AdjustDateTimeDialog.c"
+#line 983 "AdjustDateTimeDialog.c"
{
- gboolean _tmp96_ = FALSE;
+ gboolean _tmp79_ = FALSE;
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp96_ = TRUE;
+ _tmp79_ = TRUE;
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
while (TRUE) {
-#line 981 "AdjustDateTimeDialog.c"
- gint _tmp98_;
- GtkComboBoxText* _tmp99_;
- gint _tmp100_;
- struct tm _tmp101_ = {0};
- gchar* _tmp102_;
- gchar* _tmp103_;
-#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (!_tmp96_) {
#line 990 "AdjustDateTimeDialog.c"
- gint _tmp97_;
+ gint _tmp81_;
+ GtkComboBoxText* _tmp82_;
+ gint _tmp83_;
+ struct tm _tmp84_ = {0};
+ gchar* _tmp85_;
+ gchar* _tmp86_;
+#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
+ if (!_tmp79_) {
+#line 999 "AdjustDateTimeDialog.c"
+ gint _tmp80_;
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp97_ = i;
+ _tmp80_ = i;
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- i = _tmp97_ + 1;
-#line 996 "AdjustDateTimeDialog.c"
+ i = _tmp80_ + 1;
+#line 1005 "AdjustDateTimeDialog.c"
}
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp96_ = FALSE;
+ _tmp79_ = FALSE;
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp98_ = i;
+ _tmp81_ = i;
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (!(_tmp98_ < 12)) {
+ if (!(_tmp81_ < 12)) {
#line 123 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
break;
-#line 1006 "AdjustDateTimeDialog.c"
+#line 1015 "AdjustDateTimeDialog.c"
}
#line 124 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp99_ = combo;
+ _tmp82_ = combo;
#line 124 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp100_ = i;
+ _tmp83_ = i;
#line 124 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_time_gm ((time_t) (_tmp100_ * 2764800), &_tmp101_);
+ g_time_gm ((time_t) (_tmp83_ * 2764800), &_tmp84_);
#line 124 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp102_ = g_time_format (&_tmp101_, "%B");
+ _tmp85_ = g_time_format (&_tmp84_, "%B");
#line 124 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp103_ = _tmp102_;
+ _tmp86_ = _tmp85_;
#line 124 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_combo_box_text_append_text (_tmp99_, _tmp103_);
+ gtk_combo_box_text_append_text (_tmp82_, _tmp86_);
#line 124 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_free0 (_tmp103_);
-#line 1022 "AdjustDateTimeDialog.c"
+ _g_free0 (_tmp86_);
+#line 1031 "AdjustDateTimeDialog.c"
}
}
}
#line 126 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp104_ = picker;
+ _tmp87_ = picker;
#line 126 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp105_ = combo;
+ _tmp88_ = combo;
#line 126 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp104_, G_TYPE_CHECK_INSTANCE_CAST (_tmp105_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp87_, G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 128 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp106_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) (G_MAXINT >> 9), (gdouble) 1);
+ _tmp89_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) (G_MAXINT >> 9), (gdouble) 1);
#line 128 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp106_);
+ g_object_ref_sink (_tmp89_);
#line 128 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- spin = _tmp106_;
+ spin = _tmp89_;
#line 129 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp107_ = picker;
+ _tmp90_ = picker;
#line 129 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp108_ = spin;
+ _tmp91_ = spin;
#line 129 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_end (_tmp107_, G_TYPE_CHECK_INSTANCE_CAST (_tmp108_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_end (_tmp90_, G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 130 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp109_ = spin;
+ _tmp92_ = spin;
#line 130 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp110_ = self->priv->calendar;
+ _tmp93_ = self->priv->calendar;
#line 130 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_bind_property_with_closures (G_TYPE_CHECK_INSTANCE_CAST (_tmp109_, G_TYPE_OBJECT, GObject), "value", G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, G_TYPE_OBJECT, GObject), "year", G_BINDING_BIDIRECTIONAL, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
+ g_object_bind_property_with_closures (G_TYPE_CHECK_INSTANCE_CAST (_tmp92_, G_TYPE_OBJECT, GObject), "value", G_TYPE_CHECK_INSTANCE_CAST (_tmp93_, G_TYPE_OBJECT, GObject), "year", G_BINDING_BIDIRECTIONAL, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 131 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp111_ = combo;
+ _tmp94_ = combo;
#line 131 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp112_ = self->priv->calendar;
+ _tmp95_ = self->priv->calendar;
#line 131 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_bind_property_with_closures (G_TYPE_CHECK_INSTANCE_CAST (_tmp111_, G_TYPE_OBJECT, GObject), "active", G_TYPE_CHECK_INSTANCE_CAST (_tmp112_, G_TYPE_OBJECT, GObject), "month", G_BINDING_BIDIRECTIONAL, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
+ g_object_bind_property_with_closures (G_TYPE_CHECK_INSTANCE_CAST (_tmp94_, G_TYPE_OBJECT, GObject), "active", G_TYPE_CHECK_INSTANCE_CAST (_tmp95_, G_TYPE_OBJECT, GObject), "month", G_BINDING_BIDIRECTIONAL, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 133 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp113_ = time_content;
+ _tmp96_ = time_content;
#line 133 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp114_ = picker;
+ _tmp97_ = picker;
#line 133 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp113_, G_TYPE_CHECK_INSTANCE_CAST (_tmp114_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp96_, G_TYPE_CHECK_INSTANCE_CAST (_tmp97_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 134 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp115_ = time_content;
+ _tmp98_ = time_content;
#line 134 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp116_ = self->priv->calendar;
+ _tmp99_ = self->priv->calendar;
#line 134 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp115_, G_TYPE_CHECK_INSTANCE_CAST (_tmp116_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp98_, G_TYPE_CHECK_INSTANCE_CAST (_tmp99_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 135 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp117_ = time_content;
+ _tmp100_ = time_content;
#line 135 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp118_ = clock;
+ _tmp101_ = clock;
#line 135 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp117_, G_TYPE_CHECK_INSTANCE_CAST (_tmp118_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 137 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp119_ = display_options;
+ gtk_box_pack_start (_tmp100_, G_TYPE_CHECK_INSTANCE_CAST (_tmp101_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 137 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp119_) {
-#line 1078 "AdjustDateTimeDialog.c"
- GtkBox* _tmp120_;
- GtkRadioButton* _tmp121_;
- GtkBox* _tmp122_;
- GtkRadioButton* _tmp123_;
- GtkBox* _tmp124_;
- GtkCheckButton* _tmp125_;
+ if (display_options) {
+#line 1085 "AdjustDateTimeDialog.c"
+ GtkBox* _tmp102_;
+ GtkRadioButton* _tmp103_;
+ GtkBox* _tmp104_;
+ GtkRadioButton* _tmp105_;
+ GtkBox* _tmp106_;
+ GtkCheckButton* _tmp107_;
#line 138 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp120_ = time_content;
+ _tmp102_ = time_content;
#line 138 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp121_ = self->priv->relativity_radio_button;
+ _tmp103_ = self->priv->relativity_radio_button;
#line 138 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp120_, G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp102_, G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 139 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp122_ = time_content;
+ _tmp104_ = time_content;
#line 139 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp123_ = self->priv->batch_radio_button;
+ _tmp105_ = self->priv->batch_radio_button;
#line 139 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp122_, G_TYPE_CHECK_INSTANCE_CAST (_tmp123_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp104_, G_TYPE_CHECK_INSTANCE_CAST (_tmp105_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 140 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp124_ = time_content;
+ _tmp106_ = time_content;
#line 140 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp125_ = self->priv->modify_originals_check_button;
+ _tmp107_ = self->priv->modify_originals_check_button;
#line 140 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp124_, G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1103 "AdjustDateTimeDialog.c"
+ gtk_box_pack_start (_tmp106_, G_TYPE_CHECK_INSTANCE_CAST (_tmp107_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+#line 1110 "AdjustDateTimeDialog.c"
}
#line 143 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
preview = NULL;
-#line 1107 "AdjustDateTimeDialog.c"
+#line 1114 "AdjustDateTimeDialog.c"
{
- GdkPixbuf* _tmp126_ = NULL;
- Dateable* _tmp127_;
- GdkPixbuf* _tmp128_;
- GdkPixbuf* _tmp129_;
+ GdkPixbuf* _tmp108_ = NULL;
+ GdkPixbuf* _tmp109_;
+ GdkPixbuf* _tmp110_;
#line 147 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp127_ = source;
+ _tmp109_ = thumbnail_source_get_thumbnail (G_TYPE_CHECK_INSTANCE_CAST (source, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), ADJUST_DATE_TIME_DIALOG_CALENDAR_THUMBNAIL_SCALE, &_inner_error_);
#line 147 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp128_ = thumbnail_source_get_thumbnail (G_TYPE_CHECK_INSTANCE_CAST (_tmp127_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), ADJUST_DATE_TIME_DIALOG_CALENDAR_THUMBNAIL_SCALE, &_inner_error_);
-#line 147 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp126_ = _tmp128_;
+ _tmp108_ = _tmp109_;
#line 147 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1121 "AdjustDateTimeDialog.c"
+#line 1125 "AdjustDateTimeDialog.c"
goto __catch25_g_error;
}
#line 147 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp129_ = _tmp126_;
+ _tmp110_ = _tmp108_;
#line 147 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp126_ = NULL;
+ _tmp108_ = NULL;
#line 147 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (preview);
#line 147 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- preview = _tmp129_;
+ preview = _tmp110_;
#line 144 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp126_);
-#line 1134 "AdjustDateTimeDialog.c"
+ _g_object_unref0 (_tmp108_);
+#line 1138 "AdjustDateTimeDialog.c"
}
goto __finally25;
__catch25_g_error:
{
GError* err = NULL;
- Dateable* _tmp130_;
- gchar* _tmp131_;
- gchar* _tmp132_;
+ gchar* _tmp111_;
+ gchar* _tmp112_;
#line 144 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
err = _inner_error_;
#line 144 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_inner_error_ = NULL;
#line 149 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp130_ = source;
-#line 149 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp131_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp130_, TYPE_DATA_OBJECT, DataObject));
+ _tmp111_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (source, TYPE_DATA_OBJECT, DataObject));
#line 149 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp132_ = _tmp131_;
+ _tmp112_ = _tmp111_;
#line 149 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_warning ("AdjustDateTimeDialog.vala:149: Unable to fetch preview for %s", _tmp132_);
+ g_warning ("AdjustDateTimeDialog.vala:149: Unable to fetch preview for %s", _tmp112_);
#line 149 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_free0 (_tmp132_);
+ _g_free0 (_tmp112_);
#line 144 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_error_free0 (err);
-#line 1159 "AdjustDateTimeDialog.c"
+#line 1160 "AdjustDateTimeDialog.c"
}
__finally25:
#line 144 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
@@ -1178,184 +1179,178 @@ AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Date
g_clear_error (&_inner_error_);
#line 144 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return NULL;
-#line 1182 "AdjustDateTimeDialog.c"
+#line 1183 "AdjustDateTimeDialog.c"
}
#line 152 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp133_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ _tmp113_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 152 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp133_);
+ g_object_ref_sink (_tmp113_);
#line 152 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- image_content = _tmp133_;
+ image_content = _tmp113_;
#line 153 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp134_ = image_content;
+ _tmp114_ = image_content;
#line 153 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp134_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
+ gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp114_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
#line 154 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp135_ = image_content;
+ _tmp115_ = image_content;
#line 154 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_set_homogeneous (_tmp135_, TRUE);
+ gtk_box_set_homogeneous (_tmp115_, TRUE);
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp137_ = preview;
+ _tmp117_ = preview;
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp137_ != NULL) {
-#line 1202 "AdjustDateTimeDialog.c"
- GdkPixbuf* _tmp138_;
- GtkImage* _tmp139_;
+ if (_tmp117_ != NULL) {
+#line 1203 "AdjustDateTimeDialog.c"
+ GdkPixbuf* _tmp118_;
+ GtkImage* _tmp119_;
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp138_ = preview;
+ _tmp118_ = preview;
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp139_ = (GtkImage*) gtk_image_new_from_pixbuf (_tmp138_);
+ _tmp119_ = (GtkImage*) gtk_image_new_from_pixbuf (_tmp118_);
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp139_);
+ g_object_ref_sink (_tmp119_);
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp136_);
+ _g_object_unref0 (_tmp116_);
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp136_ = _tmp139_;
-#line 1215 "AdjustDateTimeDialog.c"
+ _tmp116_ = _tmp119_;
+#line 1216 "AdjustDateTimeDialog.c"
} else {
- GtkImage* _tmp140_;
+ GtkImage* _tmp120_;
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp140_ = (GtkImage*) gtk_image_new ();
+ _tmp120_ = (GtkImage*) gtk_image_new ();
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp140_);
+ g_object_ref_sink (_tmp120_);
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp136_);
+ _g_object_unref0 (_tmp116_);
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp136_ = _tmp140_;
-#line 1226 "AdjustDateTimeDialog.c"
+ _tmp116_ = _tmp120_;
+#line 1227 "AdjustDateTimeDialog.c"
}
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp141_ = _g_object_ref0 (_tmp136_);
+ _tmp121_ = _g_object_ref0 (_tmp116_);
#line 155 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- image = _tmp141_;
+ image = _tmp121_;
#line 156 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp142_ = (GtkLabel*) gtk_label_new (NULL);
+ _tmp122_ = (GtkLabel*) gtk_label_new (NULL);
#line 156 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp142_);
+ g_object_ref_sink (_tmp122_);
#line 156 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->original_time_label);
#line 156 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->original_time_label = _tmp142_;
+ self->priv->original_time_label = _tmp122_;
#line 157 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp143_ = image_content;
+ _tmp123_ = image_content;
#line 157 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp144_ = image;
+ _tmp124_ = image;
#line 157 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp143_, G_TYPE_CHECK_INSTANCE_CAST (_tmp144_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp123_, G_TYPE_CHECK_INSTANCE_CAST (_tmp124_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 158 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp145_ = image_content;
+ _tmp125_ = image_content;
#line 158 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp146_ = self->priv->original_time_label;
+ _tmp126_ = self->priv->original_time_label;
#line 158 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp145_, G_TYPE_CHECK_INSTANCE_CAST (_tmp146_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp125_, G_TYPE_CHECK_INSTANCE_CAST (_tmp126_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 160 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp147_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
+ _tmp127_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
#line 160 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp147_);
+ g_object_ref_sink (_tmp127_);
#line 160 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- hbox = _tmp147_;
+ hbox = _tmp127_;
#line 161 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp148_ = hbox;
+ _tmp128_ = hbox;
#line 161 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp148_, gtk_container_get_type (), GtkContainer), (guint) 3);
+ gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp128_, gtk_container_get_type (), GtkContainer), (guint) 3);
#line 162 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp149_ = hbox;
+ _tmp129_ = hbox;
#line 162 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp150_ = image_content;
+ _tmp130_ = image_content;
#line 162 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp149_, G_TYPE_CHECK_INSTANCE_CAST (_tmp150_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp129_, G_TYPE_CHECK_INSTANCE_CAST (_tmp130_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 163 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp151_ = hbox;
+ _tmp131_ = hbox;
#line 163 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp152_ = time_content;
+ _tmp132_ = time_content;
#line 163 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (_tmp151_, G_TYPE_CHECK_INSTANCE_CAST (_tmp152_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+ gtk_box_pack_start (_tmp131_, G_TYPE_CHECK_INSTANCE_CAST (_tmp132_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 164 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp153_ = hbox;
+ _tmp133_ = hbox;
#line 164 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp153_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
+ gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 165 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp154_ = hbox;
+ _tmp134_ = hbox;
#line 165 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp154_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
+ gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp134_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 166 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp155_ = hbox;
+ _tmp135_ = hbox;
#line 166 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp155_, gtk_widget_get_type (), GtkWidget), FALSE);
+ gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp135_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 167 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp156_ = hbox;
+ _tmp136_ = hbox;
#line 167 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp156_, gtk_widget_get_type (), GtkWidget), FALSE);
+ gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp136_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 169 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp157_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ _tmp137_ = gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 169 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp158_ = hbox;
+ _tmp138_ = hbox;
#line 169 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp157_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp158_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
+ gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp137_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp138_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
#line 171 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp159_ = (GtkLabel*) gtk_label_new ("");
+ _tmp139_ = (GtkLabel*) gtk_label_new ("");
#line 171 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_ref_sink (_tmp159_);
+ g_object_ref_sink (_tmp139_);
#line 171 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (self->priv->notification);
#line 171 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->notification = _tmp159_;
+ self->priv->notification = _tmp139_;
#line 172 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp160_ = self->priv->notification;
+ _tmp140_ = self->priv->notification;
#line 172 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_label_set_line_wrap (_tmp160_, TRUE);
+ gtk_label_set_line_wrap (_tmp140_, TRUE);
#line 173 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp161_ = self->priv->notification;
+ _tmp141_ = self->priv->notification;
#line 173 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_label_set_justify (_tmp161_, GTK_JUSTIFY_CENTER);
+ gtk_label_set_justify (_tmp141_, GTK_JUSTIFY_CENTER);
#line 175 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp162_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ _tmp142_ = gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 175 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp163_ = self->priv->notification;
+ _tmp143_ = self->priv->notification;
#line 175 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp162_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp163_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp143_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 177 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp164_ = source;
-#line 177 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp165_ = dateable_get_exposure_time (_tmp164_);
-#line 177 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->original_time = _tmp165_;
+ self->priv->original_time = dateable_get_exposure_time (source);
#line 179 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp166_ = self->priv->original_time;
+ _tmp144_ = self->priv->original_time;
#line 179 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp166_ == ((time_t) 0)) {
-#line 1328 "AdjustDateTimeDialog.c"
- time_t _tmp167_;
+ if (_tmp144_ == ((time_t) 0)) {
+#line 1325 "AdjustDateTimeDialog.c"
+ time_t _tmp145_;
#line 180 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp167_ = time (NULL);
+ _tmp145_ = time (NULL);
#line 180 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->original_time = _tmp167_;
+ self->priv->original_time = _tmp145_;
#line 181 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
self->priv->no_original_time = TRUE;
-#line 1336 "AdjustDateTimeDialog.c"
+#line 1333 "AdjustDateTimeDialog.c"
}
#line 184 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp168_ = self->priv->original_time;
+ _tmp146_ = self->priv->original_time;
#line 184 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_time_local (_tmp168_, &_tmp169_);
+ g_time_local (_tmp146_, &_tmp147_);
#line 184 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- adjust_date_time_dialog_set_time (self, &_tmp169_);
-#line 185 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp170_ = config_facade_get_instance ();
+ adjust_date_time_dialog_set_time (self, &_tmp147_);
#line 185 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp171_ = _tmp170_;
+ _tmp148_ = config_facade_get_instance ();
#line 185 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp172_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp171_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp149_ = _tmp148_;
#line 185 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- adjust_date_time_dialog_set_original_time_label (self, _tmp172_);
+ adjust_date_time_dialog_set_original_time_label (self, configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp149_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)));
#line 185 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp171_);
+ _g_object_unref0 (_tmp149_);
#line 37 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (hbox);
#line 37 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (image);
#line 37 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp136_);
+ _g_object_unref0 (_tmp116_);
#line 37 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (image_content);
#line 37 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
@@ -1372,18 +1367,27 @@ AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Date
_g_object_unref0 (clock);
#line 37 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return self;
-#line 1376 "AdjustDateTimeDialog.c"
+#line 1371 "AdjustDateTimeDialog.c"
}
-AdjustDateTimeDialog* adjust_date_time_dialog_new (Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video) {
+AdjustDateTimeDialog*
+adjust_date_time_dialog_new (Dateable* source,
+ gint photo_count,
+ gboolean display_options,
+ gboolean contains_video,
+ gboolean only_video)
+{
#line 37 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return adjust_date_time_dialog_construct (TYPE_ADJUST_DATE_TIME_DIALOG, source, photo_count, display_options, contains_video, only_video);
-#line 1383 "AdjustDateTimeDialog.c"
+#line 1384 "AdjustDateTimeDialog.c"
}
-static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct tm* time) {
+static void
+adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self,
+ struct tm* time)
+{
GtkCalendar* _tmp0_;
struct tm _tmp1_;
gint _tmp2_;
@@ -1397,15 +1401,13 @@ static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct
ConfigFacade* _tmp10_;
ConfigFacade* _tmp11_;
gboolean _tmp12_;
- gboolean _tmp13_;
- GtkSpinButton* _tmp28_;
- struct tm _tmp29_;
- gint _tmp30_;
- GtkSpinButton* _tmp31_;
- struct tm _tmp32_;
- gint _tmp33_;
- GtkComboBoxText* _tmp34_;
- gint _tmp35_;
+ GtkSpinButton* _tmp27_;
+ struct tm _tmp28_;
+ gint _tmp29_;
+ GtkSpinButton* _tmp30_;
+ struct tm _tmp31_;
+ gint _tmp32_;
+ GtkComboBoxText* _tmp33_;
#line 188 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
#line 188 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
@@ -1445,122 +1447,120 @@ static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct
#line 194 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_tmp12_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 194 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp13_ = _tmp12_;
-#line 194 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_object_unref0 (_tmp11_);
#line 194 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp13_) {
+ if (_tmp12_) {
#line 1454 "AdjustDateTimeDialog.c"
- GtkComboBoxText* _tmp14_;
- GtkSpinButton* _tmp15_;
- struct tm _tmp16_;
- gint _tmp17_;
+ GtkComboBoxText* _tmp13_;
+ GtkSpinButton* _tmp14_;
+ struct tm _tmp15_;
+ gint _tmp16_;
#line 195 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp14_ = self->priv->system;
+ _tmp13_ = self->priv->system;
#line 195 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_combo_box_get_type (), GtkComboBox), (gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR);
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_combo_box_get_type (), GtkComboBox), (gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR);
#line 196 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp15_ = self->priv->hour;
+ _tmp14_ = self->priv->hour;
#line 196 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp16_ = *time;
+ _tmp15_ = *time;
#line 196 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp17_ = _tmp16_.tm_hour;
+ _tmp16_ = _tmp15_.tm_hour;
#line 196 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_spin_button_set_value (_tmp15_, (gdouble) _tmp17_);
+ gtk_spin_button_set_value (_tmp14_, (gdouble) _tmp16_);
#line 1471 "AdjustDateTimeDialog.c"
} else {
gint AMPM_hour = 0;
- struct tm _tmp18_;
- gint _tmp19_;
- gint _tmp20_ = 0;
- gint _tmp21_;
- GtkSpinButton* _tmp23_;
- AdjustDateTimeDialogTimeSystem _tmp24_ = 0;
- struct tm _tmp25_;
- gint _tmp26_;
- GtkComboBoxText* _tmp27_;
+ struct tm _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_ = 0;
+ gint _tmp20_;
+ GtkSpinButton* _tmp22_;
+ AdjustDateTimeDialogTimeSystem _tmp23_ = 0;
+ struct tm _tmp24_;
+ gint _tmp25_;
+ GtkComboBoxText* _tmp26_;
#line 198 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp18_ = *time;
+ _tmp17_ = *time;
#line 198 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp19_ = _tmp18_.tm_hour;
+ _tmp18_ = _tmp17_.tm_hour;
#line 198 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- AMPM_hour = _tmp19_ % 12;
+ AMPM_hour = _tmp18_ % 12;
#line 199 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp21_ = AMPM_hour;
+ _tmp20_ = AMPM_hour;
#line 199 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp21_ == 0) {
+ if (_tmp20_ == 0) {
#line 199 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp20_ = 12;
+ _tmp19_ = 12;
#line 1495 "AdjustDateTimeDialog.c"
} else {
- gint _tmp22_;
+ gint _tmp21_;
#line 199 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp22_ = AMPM_hour;
+ _tmp21_ = AMPM_hour;
#line 199 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp20_ = _tmp22_;
+ _tmp19_ = _tmp21_;
#line 1502 "AdjustDateTimeDialog.c"
}
#line 199 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp23_ = self->priv->hour;
+ _tmp22_ = self->priv->hour;
#line 199 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_spin_button_set_value (_tmp23_, (gdouble) _tmp20_);
+ gtk_spin_button_set_value (_tmp22_, (gdouble) _tmp19_);
#line 200 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp25_ = *time;
+ _tmp24_ = *time;
#line 200 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp26_ = _tmp25_.tm_hour;
+ _tmp25_ = _tmp24_.tm_hour;
#line 200 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp26_ >= 12) {
+ if (_tmp25_ >= 12) {
#line 200 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp24_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM;
+ _tmp23_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM;
#line 1516 "AdjustDateTimeDialog.c"
} else {
#line 200 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp24_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM;
+ _tmp23_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM;
#line 1520 "AdjustDateTimeDialog.c"
}
#line 200 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp27_ = self->priv->system;
+ _tmp26_ = self->priv->system;
#line 200 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp24_);
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp23_);
#line 1526 "AdjustDateTimeDialog.c"
}
#line 203 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp28_ = self->priv->minute;
+ _tmp27_ = self->priv->minute;
#line 203 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp29_ = *time;
+ _tmp28_ = *time;
#line 203 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp30_ = _tmp29_.tm_min;
+ _tmp29_ = _tmp28_.tm_min;
#line 203 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_spin_button_set_value (_tmp28_, (gdouble) _tmp30_);
+ gtk_spin_button_set_value (_tmp27_, (gdouble) _tmp29_);
#line 204 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp31_ = self->priv->second;
+ _tmp30_ = self->priv->second;
#line 204 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp32_ = *time;
+ _tmp31_ = *time;
#line 204 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp33_ = _tmp32_.tm_sec;
+ _tmp32_ = _tmp31_.tm_sec;
#line 204 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_spin_button_set_value (_tmp31_, (gdouble) _tmp33_);
+ gtk_spin_button_set_value (_tmp30_, (gdouble) _tmp32_);
#line 206 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp34_ = self->priv->system;
+ _tmp33_ = self->priv->system;
#line 206 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp35_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_combo_box_get_type (), GtkComboBox));
-#line 206 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) _tmp35_;
-#line 1550 "AdjustDateTimeDialog.c"
+ self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_combo_box_get_type (), GtkComboBox));
+#line 1548 "AdjustDateTimeDialog.c"
}
-static void adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialog* self, gboolean use_24_hr_format) {
+static void
+adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialog* self,
+ gboolean use_24_hr_format)
+{
gboolean _tmp0_;
const gchar* _tmp1_ = NULL;
- gboolean _tmp2_;
- GtkLabel* _tmp3_;
- time_t _tmp4_;
- struct tm _tmp5_ = {0};
+ GtkLabel* _tmp2_;
+ time_t _tmp3_;
+ struct tm _tmp4_ = {0};
+ gchar* _tmp5_;
gchar* _tmp6_;
gchar* _tmp7_;
gchar* _tmp8_;
- gchar* _tmp9_;
#line 209 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
#line 210 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
@@ -1572,66 +1572,61 @@ static void adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialo
#line 1573 "AdjustDateTimeDialog.c"
}
#line 214 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp2_ = use_24_hr_format;
-#line 214 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp2_) {
+ if (use_24_hr_format) {
#line 214 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_tmp1_ = _ ("%m/%d/%Y, %H:%M:%S");
-#line 1581 "AdjustDateTimeDialog.c"
+#line 1579 "AdjustDateTimeDialog.c"
} else {
#line 215 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_tmp1_ = _ ("%m/%d/%Y, %I:%M:%S %p");
-#line 1585 "AdjustDateTimeDialog.c"
+#line 1583 "AdjustDateTimeDialog.c"
}
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp3_ = self->priv->original_time_label;
+ _tmp2_ = self->priv->original_time_label;
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp4_ = self->priv->original_time;
+ _tmp3_ = self->priv->original_time;
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_time_local (_tmp4_, &_tmp5_);
+ g_time_local (_tmp3_, &_tmp4_);
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp6_ = g_time_format (&_tmp5_, _tmp1_);
+ _tmp5_ = g_time_format (&_tmp4_, _tmp1_);
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp7_ = _tmp6_;
+ _tmp6_ = _tmp5_;
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp8_ = g_strconcat (_ ("Original: "), _tmp7_, NULL);
+ _tmp7_ = g_strconcat (_ ("Original: "), _tmp6_, NULL);
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp9_ = _tmp8_;
+ _tmp8_ = _tmp7_;
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_label_set_text (_tmp3_, _tmp9_);
+ gtk_label_set_text (_tmp2_, _tmp8_);
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_free0 (_tmp9_);
+ _g_free0 (_tmp8_);
#line 213 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_free0 (_tmp7_);
-#line 1607 "AdjustDateTimeDialog.c"
+ _g_free0 (_tmp6_);
+#line 1605 "AdjustDateTimeDialog.c"
}
-static time_t adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self) {
+static time_t
+adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self)
+{
time_t result = 0;
struct tm time = {0};
GtkSpinButton* _tmp0_;
- gdouble _tmp1_;
- GtkSpinButton* _tmp2_;
- gdouble _tmp3_;
+ GtkSpinButton* _tmp1_;
gint hour = 0;
- GtkSpinButton* _tmp4_;
- gdouble _tmp5_;
- gint _tmp6_ = 0;
- gboolean _tmp7_ = FALSE;
- gint _tmp8_;
- gint _tmp12_ = 0;
- GtkComboBoxText* _tmp13_;
- gint _tmp14_;
- gint _tmp15_;
+ GtkSpinButton* _tmp2_;
+ gint _tmp3_ = 0;
+ gboolean _tmp4_ = FALSE;
+ gint _tmp5_;
+ gint _tmp8_ = 0;
+ GtkComboBoxText* _tmp9_;
+ gint _tmp10_;
guint year = 0U;
guint month = 0U;
guint day = 0U;
- GtkCalendar* _tmp16_;
- guint _tmp17_ = 0U;
- guint _tmp18_ = 0U;
- guint _tmp19_ = 0U;
- time_t _tmp20_;
+ GtkCalendar* _tmp11_;
+ guint _tmp12_ = 0U;
+ guint _tmp13_ = 0U;
+ guint _tmp14_ = 0U;
#line 218 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), 0);
#line 219 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
@@ -1639,83 +1634,72 @@ static time_t adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self) {
#line 221 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_tmp0_ = self->priv->second;
#line 221 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp1_ = gtk_spin_button_get_value (_tmp0_);
-#line 221 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time.tm_sec = (gint) _tmp1_;
-#line 222 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp2_ = self->priv->minute;
+ time.tm_sec = (gint) gtk_spin_button_get_value (_tmp0_);
#line 222 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp3_ = gtk_spin_button_get_value (_tmp2_);
+ _tmp1_ = self->priv->minute;
#line 222 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time.tm_min = (gint) _tmp3_;
+ time.tm_min = (gint) gtk_spin_button_get_value (_tmp1_);
#line 225 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp4_ = self->priv->hour;
+ _tmp2_ = self->priv->hour;
#line 225 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp5_ = gtk_spin_button_get_value (_tmp4_);
-#line 225 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- hour = (gint) _tmp5_;
-#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp8_ = hour;
+ hour = (gint) gtk_spin_button_get_value (_tmp2_);
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp8_ == 12) {
-#line 1662 "AdjustDateTimeDialog.c"
- GtkComboBoxText* _tmp9_;
- gint _tmp10_;
+ _tmp5_ = hour;
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp9_ = self->priv->system;
+ if (_tmp5_ == 12) {
+#line 1651 "AdjustDateTimeDialog.c"
+ GtkComboBoxText* _tmp6_;
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp10_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox));
+ _tmp6_ = self->priv->system;
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp7_ = _tmp10_ != ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR);
-#line 1671 "AdjustDateTimeDialog.c"
+ _tmp4_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_combo_box_get_type (), GtkComboBox)) != ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR);
+#line 1657 "AdjustDateTimeDialog.c"
} else {
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp7_ = FALSE;
-#line 1675 "AdjustDateTimeDialog.c"
+ _tmp4_ = FALSE;
+#line 1661 "AdjustDateTimeDialog.c"
}
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp7_) {
+ if (_tmp4_) {
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp6_ = 0;
-#line 1681 "AdjustDateTimeDialog.c"
+ _tmp3_ = 0;
+#line 1667 "AdjustDateTimeDialog.c"
} else {
- gint _tmp11_;
+ gint _tmp7_;
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp11_ = hour;
+ _tmp7_ = hour;
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp6_ = _tmp11_;
-#line 1688 "AdjustDateTimeDialog.c"
+ _tmp3_ = _tmp7_;
+#line 1674 "AdjustDateTimeDialog.c"
}
#line 226 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time.tm_hour = _tmp6_;
-#line 227 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp13_ = self->priv->system;
+ time.tm_hour = _tmp3_;
#line 227 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp14_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_combo_box_get_type (), GtkComboBox));
+ _tmp9_ = self->priv->system;
#line 227 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp14_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM)) {
+ if (gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox)) == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM)) {
#line 227 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp12_ = 12;
-#line 1700 "AdjustDateTimeDialog.c"
+ _tmp8_ = 12;
+#line 1684 "AdjustDateTimeDialog.c"
} else {
#line 227 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp12_ = 0;
-#line 1704 "AdjustDateTimeDialog.c"
+ _tmp8_ = 0;
+#line 1688 "AdjustDateTimeDialog.c"
}
#line 227 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp15_ = time.tm_hour;
+ _tmp10_ = time.tm_hour;
#line 227 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time.tm_hour = _tmp15_ + _tmp12_;
+ time.tm_hour = _tmp10_ + _tmp8_;
#line 230 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp16_ = self->priv->calendar;
+ _tmp11_ = self->priv->calendar;
#line 230 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_calendar_get_date (_tmp16_, &_tmp17_, &_tmp18_, &_tmp19_);
+ gtk_calendar_get_date (_tmp11_, &_tmp12_, &_tmp13_, &_tmp14_);
#line 230 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- year = _tmp17_;
+ year = _tmp12_;
#line 230 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- month = _tmp18_;
+ month = _tmp13_;
#line 230 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- day = _tmp19_;
+ day = _tmp14_;
#line 231 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
time.tm_year = ((gint) year) - ADJUST_DATE_TIME_DIALOG_YEAR_OFFSET;
#line 232 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
@@ -1725,22 +1709,24 @@ static time_t adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self) {
#line 235 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
time.tm_isdst = -1;
#line 237 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp20_ = mktime (&time);
-#line 237 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- result = _tmp20_;
+ result = mktime (&time);
#line 237 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return result;
-#line 1734 "AdjustDateTimeDialog.c"
+#line 1716 "AdjustDateTimeDialog.c"
}
-gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* time_shift, gboolean* keep_relativity, gboolean* modify_originals) {
+gboolean
+adjust_date_time_dialog_execute (AdjustDateTimeDialog* self,
+ gint64* time_shift,
+ gboolean* keep_relativity,
+ gboolean* modify_originals)
+{
gint64 _vala_time_shift = 0LL;
gboolean _vala_keep_relativity = FALSE;
gboolean _vala_modify_originals = FALSE;
gboolean result = FALSE;
gboolean response = FALSE;
- gint _tmp0_;
#line 240 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), FALSE);
#line 242 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
@@ -1748,106 +1734,91 @@ gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* ti
#line 244 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
response = FALSE;
#line 246 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 246 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
-#line 1755 "AdjustDateTimeDialog.c"
- gboolean _tmp1_;
- GtkRadioButton* _tmp5_;
- gboolean _tmp6_;
- GtkRadioButton* _tmp7_;
- gboolean _tmp8_;
- gboolean _tmp9_;
- GtkCheckButton* _tmp13_;
- gboolean _tmp14_;
- GtkCheckButton* _tmp15_;
- gboolean _tmp16_;
- gboolean _tmp17_;
+ if (gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)) == ((gint) GTK_RESPONSE_OK)) {
+#line 1739 "AdjustDateTimeDialog.c"
+ gboolean _tmp0_;
+ GtkRadioButton* _tmp2_;
+ GtkRadioButton* _tmp3_;
+ gboolean _tmp4_;
+ gboolean _tmp5_;
+ GtkCheckButton* _tmp9_;
+ GtkCheckButton* _tmp10_;
+ gboolean _tmp11_;
+ gboolean _tmp12_;
#line 247 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp1_ = self->priv->no_original_time;
+ _tmp0_ = self->priv->no_original_time;
#line 247 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp1_) {
-#line 1771 "AdjustDateTimeDialog.c"
- time_t _tmp2_;
-#line 248 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp2_ = adjust_date_time_dialog_get_time (self);
+ if (_tmp0_) {
#line 248 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _vala_time_shift = (gint64) _tmp2_;
-#line 1777 "AdjustDateTimeDialog.c"
+ _vala_time_shift = (gint64) adjust_date_time_dialog_get_time (self);
+#line 1755 "AdjustDateTimeDialog.c"
} else {
- time_t _tmp3_;
- time_t _tmp4_;
-#line 250 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp3_ = adjust_date_time_dialog_get_time (self);
+ time_t _tmp1_;
#line 250 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp4_ = self->priv->original_time;
+ _tmp1_ = self->priv->original_time;
#line 250 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _vala_time_shift = (gint64) (_tmp3_ - _tmp4_);
-#line 1787 "AdjustDateTimeDialog.c"
+ _vala_time_shift = (gint64) (adjust_date_time_dialog_get_time (self) - _tmp1_);
+#line 1762 "AdjustDateTimeDialog.c"
}
#line 252 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp5_ = self->priv->relativity_radio_button;
+ _tmp2_ = self->priv->relativity_radio_button;
#line 252 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp6_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 252 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _vala_keep_relativity = _tmp6_;
+ _vala_keep_relativity = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 254 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp7_ = self->priv->relativity_radio_button;
+ _tmp3_ = self->priv->relativity_radio_button;
#line 254 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp8_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
+ _tmp4_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
#line 254 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp9_ = _tmp8_;
+ _tmp5_ = _tmp4_;
#line 254 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp9_) {
-#line 1803 "AdjustDateTimeDialog.c"
- ConfigFacade* _tmp10_;
- ConfigFacade* _tmp11_;
- gboolean _tmp12_;
+ if (_tmp5_) {
+#line 1776 "AdjustDateTimeDialog.c"
+ ConfigFacade* _tmp6_;
+ ConfigFacade* _tmp7_;
+ gboolean _tmp8_;
#line 255 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp10_ = config_facade_get_instance ();
+ _tmp6_ = config_facade_get_instance ();
#line 255 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp11_ = _tmp10_;
+ _tmp7_ = _tmp6_;
#line 255 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp12_ = _vala_keep_relativity;
+ _tmp8_ = _vala_keep_relativity;
#line 255 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- configuration_facade_set_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp12_);
+ configuration_facade_set_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp8_);
#line 255 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp11_);
-#line 1817 "AdjustDateTimeDialog.c"
+ _g_object_unref0 (_tmp7_);
+#line 1790 "AdjustDateTimeDialog.c"
}
#line 257 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp13_ = self->priv->modify_originals_check_button;
-#line 257 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp14_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_toggle_button_get_type (), GtkToggleButton));
+ _tmp9_ = self->priv->modify_originals_check_button;
#line 257 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _vala_modify_originals = _tmp14_;
+ _vala_modify_originals = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 259 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp15_ = self->priv->modify_originals_check_button;
+ _tmp10_ = self->priv->modify_originals_check_button;
#line 259 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp16_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget));
+ _tmp11_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
#line 259 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp17_ = _tmp16_;
+ _tmp12_ = _tmp11_;
#line 259 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp17_) {
-#line 1833 "AdjustDateTimeDialog.c"
- ConfigFacade* _tmp18_;
- ConfigFacade* _tmp19_;
- gboolean _tmp20_;
+ if (_tmp12_) {
+#line 1804 "AdjustDateTimeDialog.c"
+ ConfigFacade* _tmp13_;
+ ConfigFacade* _tmp14_;
+ gboolean _tmp15_;
#line 260 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp18_ = config_facade_get_instance ();
+ _tmp13_ = config_facade_get_instance ();
#line 260 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp19_ = _tmp18_;
+ _tmp14_ = _tmp13_;
#line 260 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp20_ = _vala_modify_originals;
+ _tmp15_ = _vala_modify_originals;
#line 260 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- configuration_facade_set_modify_originals (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp20_);
+ configuration_facade_set_modify_originals (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp15_);
#line 260 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp19_);
-#line 1847 "AdjustDateTimeDialog.c"
+ _g_object_unref0 (_tmp14_);
+#line 1818 "AdjustDateTimeDialog.c"
}
#line 262 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
response = TRUE;
-#line 1851 "AdjustDateTimeDialog.c"
+#line 1822 "AdjustDateTimeDialog.c"
} else {
#line 264 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_vala_time_shift = (gint64) 0;
@@ -1855,7 +1826,7 @@ gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* ti
_vala_keep_relativity = TRUE;
#line 266 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_vala_modify_originals = FALSE;
-#line 1859 "AdjustDateTimeDialog.c"
+#line 1830 "AdjustDateTimeDialog.c"
}
#line 269 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
@@ -1865,288 +1836,271 @@ gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* ti
if (time_shift) {
#line 271 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
*time_shift = _vala_time_shift;
-#line 1869 "AdjustDateTimeDialog.c"
+#line 1840 "AdjustDateTimeDialog.c"
}
#line 271 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
if (keep_relativity) {
#line 271 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
*keep_relativity = _vala_keep_relativity;
-#line 1875 "AdjustDateTimeDialog.c"
+#line 1846 "AdjustDateTimeDialog.c"
}
#line 271 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
if (modify_originals) {
#line 271 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
*modify_originals = _vala_modify_originals;
-#line 1881 "AdjustDateTimeDialog.c"
+#line 1852 "AdjustDateTimeDialog.c"
}
#line 271 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return result;
-#line 1885 "AdjustDateTimeDialog.c"
+#line 1856 "AdjustDateTimeDialog.c"
}
-static gboolean adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDialog* self, GtkSpinButton* button) {
+static gboolean
+adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDialog* self,
+ GtkSpinButton* button)
+{
gboolean result = FALSE;
- GtkSpinButton* _tmp0_;
- GtkSpinButton* _tmp1_;
- gdouble _tmp2_;
- gchar* _tmp3_;
- gchar* _tmp4_;
+ gchar* _tmp0_;
+ gchar* _tmp1_;
#line 274 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), FALSE);
#line 274 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_val_if_fail (GTK_IS_SPIN_BUTTON (button), FALSE);
#line 275 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp0_ = button;
+ _tmp0_ = g_strdup_printf ("%02d", (gint) gtk_spin_button_get_value (button));
#line 275 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp1_ = button;
+ _tmp1_ = _tmp0_;
#line 275 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp2_ = gtk_spin_button_get_value (_tmp1_);
+ gtk_entry_set_text (G_TYPE_CHECK_INSTANCE_CAST (button, gtk_entry_get_type (), GtkEntry), _tmp1_);
#line 275 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp3_ = g_strdup_printf ("%02d", (gint) _tmp2_);
-#line 275 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp4_ = _tmp3_;
-#line 275 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_entry_set_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_entry_get_type (), GtkEntry), _tmp4_);
-#line 275 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_free0 (_tmp4_);
+ _g_free0 (_tmp1_);
#line 277 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_on_time_changed (self);
#line 279 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
result = TRUE;
#line 279 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return result;
-#line 1920 "AdjustDateTimeDialog.c"
+#line 1885 "AdjustDateTimeDialog.c"
}
-static void adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self) {
+static void
+adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self)
+{
gint64 time_shift = 0LL;
time_t _tmp0_;
- time_t _tmp1_;
+ GtkCalendar* _tmp1_;
GtkCalendar* _tmp2_;
- GtkCalendar* _tmp3_;
- GtkComboBoxText* _tmp4_;
- gint _tmp5_;
- gboolean _tmp6_ = FALSE;
- gboolean _tmp7_ = FALSE;
- gint64 _tmp8_;
+ GtkComboBoxText* _tmp3_;
+ gboolean _tmp4_ = FALSE;
+ gboolean _tmp5_ = FALSE;
+ gint64 _tmp6_;
#line 282 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
#line 283 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp0_ = adjust_date_time_dialog_get_time (self);
-#line 283 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp1_ = self->priv->original_time;
+ _tmp0_ = self->priv->original_time;
#line 283 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time_shift = ((gint64) _tmp0_) - ((gint64) _tmp1_);
+ time_shift = ((gint64) adjust_date_time_dialog_get_time (self)) - ((gint64) _tmp0_);
#line 284 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp2_ = self->priv->calendar;
+ _tmp1_ = self->priv->calendar;
#line 284 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_notify (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, G_TYPE_OBJECT, GObject), "year");
+ g_object_notify (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_OBJECT, GObject), "year");
#line 285 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp3_ = self->priv->calendar;
+ _tmp2_ = self->priv->calendar;
#line 285 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- g_object_notify (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, G_TYPE_OBJECT, GObject), "month");
+ g_object_notify (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, G_TYPE_OBJECT, GObject), "month");
#line 287 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp4_ = self->priv->system;
-#line 287 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp5_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_combo_box_get_type (), GtkComboBox));
+ _tmp3_ = self->priv->system;
#line 287 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) _tmp5_;
+ self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox));
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp8_ = time_shift;
+ _tmp6_ = time_shift;
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp8_ == ((gint64) 0)) {
+ if (_tmp6_ == ((gint64) 0)) {
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp7_ = TRUE;
-#line 1963 "AdjustDateTimeDialog.c"
+ _tmp5_ = TRUE;
+#line 1924 "AdjustDateTimeDialog.c"
} else {
- gboolean _tmp9_;
+ gboolean _tmp7_;
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp9_ = self->priv->no_original_time;
+ _tmp7_ = self->priv->no_original_time;
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp7_ = _tmp9_;
-#line 1970 "AdjustDateTimeDialog.c"
+ _tmp5_ = _tmp7_;
+#line 1931 "AdjustDateTimeDialog.c"
}
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp7_) {
+ if (_tmp5_) {
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp6_ = TRUE;
-#line 1976 "AdjustDateTimeDialog.c"
+ _tmp4_ = TRUE;
+#line 1937 "AdjustDateTimeDialog.c"
} else {
- gboolean _tmp10_ = FALSE;
- GtkRadioButton* _tmp11_;
- gboolean _tmp12_;
+ gboolean _tmp8_ = FALSE;
+ GtkRadioButton* _tmp9_;
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp11_ = self->priv->batch_radio_button;
+ _tmp9_ = self->priv->batch_radio_button;
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp12_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp12_) {
-#line 1987 "AdjustDateTimeDialog.c"
- GtkRadioButton* _tmp13_;
- gboolean _tmp14_;
- gboolean _tmp15_;
+ if (gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton))) {
+#line 1945 "AdjustDateTimeDialog.c"
+ GtkRadioButton* _tmp10_;
+ gboolean _tmp11_;
+ gboolean _tmp12_;
#line 290 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp13_ = self->priv->batch_radio_button;
+ _tmp10_ = self->priv->batch_radio_button;
#line 290 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp14_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget));
+ _tmp11_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
#line 290 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp15_ = _tmp14_;
+ _tmp12_ = _tmp11_;
#line 290 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp10_ = _tmp15_;
-#line 1999 "AdjustDateTimeDialog.c"
+ _tmp8_ = _tmp12_;
+#line 1957 "AdjustDateTimeDialog.c"
} else {
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp10_ = FALSE;
-#line 2003 "AdjustDateTimeDialog.c"
+ _tmp8_ = FALSE;
+#line 1961 "AdjustDateTimeDialog.c"
}
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp6_ = _tmp10_;
-#line 2007 "AdjustDateTimeDialog.c"
+ _tmp4_ = _tmp8_;
+#line 1965 "AdjustDateTimeDialog.c"
}
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp6_) {
-#line 2011 "AdjustDateTimeDialog.c"
- GtkLabel* _tmp16_;
+ if (_tmp4_) {
+#line 1969 "AdjustDateTimeDialog.c"
+ GtkLabel* _tmp13_;
#line 291 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp16_ = self->priv->notification;
+ _tmp13_ = self->priv->notification;
#line 291 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget));
-#line 2017 "AdjustDateTimeDialog.c"
+ gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget));
+#line 1975 "AdjustDateTimeDialog.c"
} else {
gboolean forward = FALSE;
- gint64 _tmp17_;
+ gint64 _tmp14_;
gint days = 0;
gint hours = 0;
gint minutes = 0;
gint seconds = 0;
+ gint64 _tmp15_;
+ gint64 _tmp16_;
+ gint64 _tmp17_;
gint64 _tmp18_;
gint64 _tmp19_;
gint64 _tmp20_;
gint64 _tmp21_;
- gint64 _tmp22_;
- gint64 _tmp23_;
- gint64 _tmp24_;
- gint64 _tmp25_;
- const gchar* _tmp26_ = NULL;
- gboolean _tmp27_;
+ const gchar* _tmp22_ = NULL;
+ gboolean _tmp23_;
gchar* shift_status = NULL;
- gchar* _tmp28_;
- GtkLabel* _tmp29_;
- const gchar* _tmp30_;
+ gchar* _tmp24_;
+ GtkLabel* _tmp25_;
+ const gchar* _tmp26_;
+ gint _tmp27_;
+ gint _tmp28_;
+ gint _tmp29_;
+ gint _tmp30_;
gint _tmp31_;
gint _tmp32_;
gint _tmp33_;
gint _tmp34_;
- gint _tmp35_;
- gint _tmp36_;
- gint _tmp37_;
- gint _tmp38_;
- gchar* _tmp39_;
- gchar* _tmp40_;
- GtkLabel* _tmp41_;
+ gchar* _tmp35_;
+ gchar* _tmp36_;
+ GtkLabel* _tmp37_;
#line 293 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp17_ = time_shift;
+ _tmp14_ = time_shift;
#line 293 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- forward = _tmp17_ > ((gint64) 0);
-#line 296 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp18_ = time_shift;
+ forward = _tmp14_ > ((gint64) 0);
#line 296 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp19_ = llabs (_tmp18_);
+ _tmp15_ = time_shift;
#line 296 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time_shift = _tmp19_;
+ time_shift = llabs (_tmp15_);
#line 298 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp20_ = time_shift;
+ _tmp16_ = time_shift;
#line 298 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- days = (gint) (_tmp20_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY);
+ days = (gint) (_tmp16_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY);
#line 299 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp21_ = time_shift;
+ _tmp17_ = time_shift;
#line 299 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time_shift = _tmp21_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY;
+ time_shift = _tmp17_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY;
#line 300 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp22_ = time_shift;
+ _tmp18_ = time_shift;
#line 300 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- hours = (gint) (_tmp22_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR);
+ hours = (gint) (_tmp18_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR);
#line 301 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp23_ = time_shift;
+ _tmp19_ = time_shift;
#line 301 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time_shift = _tmp23_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR;
+ time_shift = _tmp19_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR;
#line 302 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp24_ = time_shift;
+ _tmp20_ = time_shift;
#line 302 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- minutes = (gint) (_tmp24_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE);
+ minutes = (gint) (_tmp20_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE);
#line 303 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp25_ = time_shift;
+ _tmp21_ = time_shift;
#line 303 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- seconds = (gint) (_tmp25_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE);
+ seconds = (gint) (_tmp21_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE);
#line 305 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp27_ = forward;
+ _tmp23_ = forward;
#line 305 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp27_) {
+ if (_tmp23_) {
#line 306 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp26_ = _ ("Exposure time will be shifted forward by\n" \
+ _tmp22_ = _ ("Exposure time will be shifted forward by\n" \
"%d %s, %d %s, %d %s, and %d %s.");
-#line 2090 "AdjustDateTimeDialog.c"
+#line 2045 "AdjustDateTimeDialog.c"
} else {
#line 307 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp26_ = _ ("Exposure time will be shifted backward by\n" \
+ _tmp22_ = _ ("Exposure time will be shifted backward by\n" \
"%d %s, %d %s, %d %s, and %d %s.");
-#line 2094 "AdjustDateTimeDialog.c"
+#line 2049 "AdjustDateTimeDialog.c"
}
#line 305 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp28_ = g_strdup (_tmp26_);
+ _tmp24_ = g_strdup (_tmp22_);
#line 305 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- shift_status = _tmp28_;
+ shift_status = _tmp24_;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp29_ = self->priv->notification;
+ _tmp25_ = self->priv->notification;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp30_ = shift_status;
+ _tmp26_ = shift_status;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp31_ = days;
+ _tmp27_ = days;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp32_ = days;
+ _tmp28_ = days;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp33_ = hours;
+ _tmp29_ = hours;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp34_ = hours;
+ _tmp30_ = hours;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp35_ = minutes;
+ _tmp31_ = minutes;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp36_ = minutes;
+ _tmp32_ = minutes;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp37_ = seconds;
+ _tmp33_ = seconds;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp38_ = seconds;
+ _tmp34_ = seconds;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp39_ = g_strdup_printf (_tmp30_, _tmp31_, ngettext ("day", "days", (gulong) _tmp32_), _tmp33_, ngettext ("hour", "hours", (gulong) _tmp34_), _tmp35_, ngettext ("minute", "minutes", (gulong) _tmp36_), _tmp37_, ngettext ("second", "seconds", (gulong) _tmp38_));
+ _tmp35_ = g_strdup_printf (_tmp26_, _tmp27_, ngettext ("day", "days", (gulong) _tmp28_), _tmp29_, ngettext ("hour", "hours", (gulong) _tmp30_), _tmp31_, ngettext ("minute", "minutes", (gulong) _tmp32_), _tmp33_, ngettext ("second", "seconds", (gulong) _tmp34_));
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp40_ = _tmp39_;
+ _tmp36_ = _tmp35_;
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_label_set_text (_tmp29_, _tmp40_);
+ gtk_label_set_text (_tmp25_, _tmp36_);
#line 309 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_free0 (_tmp40_);
+ _g_free0 (_tmp36_);
#line 314 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp41_ = self->priv->notification;
+ _tmp37_ = self->priv->notification;
#line 314 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget));
+ gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget));
#line 289 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_g_free0 (shift_status);
-#line 2134 "AdjustDateTimeDialog.c"
+#line 2089 "AdjustDateTimeDialog.c"
}
}
-static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog* self) {
+static void
+adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog* self)
+{
AdjustDateTimeDialogTimeSystem _tmp0_;
GtkComboBoxText* _tmp1_;
- gint _tmp2_;
+ ConfigFacade* _tmp2_;
ConfigFacade* _tmp3_;
- ConfigFacade* _tmp4_;
+ GtkComboBoxText* _tmp4_;
GtkComboBoxText* _tmp5_;
- gint _tmp6_;
- GtkComboBoxText* _tmp7_;
- gint _tmp8_;
#line 318 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
#line 319 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
@@ -2154,161 +2108,152 @@ static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog
#line 319 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
_tmp1_ = self->priv->system;
#line 319 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
-#line 319 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp0_ == _tmp2_) {
+ if (_tmp0_ == gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox))) {
#line 320 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
return;
-#line 2161 "AdjustDateTimeDialog.c"
+#line 2113 "AdjustDateTimeDialog.c"
}
#line 322 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp3_ = config_facade_get_instance ();
-#line 322 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp4_ = _tmp3_;
+ _tmp2_ = config_facade_get_instance ();
#line 322 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp5_ = self->priv->system;
+ _tmp3_ = _tmp2_;
#line 322 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp6_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_combo_box_get_type (), GtkComboBox));
+ _tmp4_ = self->priv->system;
#line 322 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- configuration_facade_set_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp6_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR));
+ configuration_facade_set_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_combo_box_get_type (), GtkComboBox)) == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR));
#line 322 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _g_object_unref0 (_tmp4_);
-#line 324 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp7_ = self->priv->system;
+ _g_object_unref0 (_tmp3_);
#line 324 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp8_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox));
+ _tmp5_ = self->priv->system;
#line 324 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp8_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR)) {
-#line 2181 "AdjustDateTimeDialog.c"
- gint _tmp9_ = 0;
- GtkSpinButton* _tmp10_;
- gdouble _tmp11_;
+ if (gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_combo_box_get_type (), GtkComboBox)) == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR)) {
+#line 2129 "AdjustDateTimeDialog.c"
+ gint _tmp6_ = 0;
+ GtkSpinButton* _tmp7_;
gint time = 0;
- gint _tmp14_ = 0;
- AdjustDateTimeDialogTimeSystem _tmp15_;
- gint _tmp16_;
- GtkSpinButton* _tmp17_;
- GtkSpinButton* _tmp18_;
- gint _tmp19_;
-#line 325 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp10_ = self->priv->hour;
+ gint _tmp9_ = 0;
+ AdjustDateTimeDialogTimeSystem _tmp10_;
+ gint _tmp11_;
+ GtkSpinButton* _tmp12_;
+ GtkSpinButton* _tmp13_;
+ gint _tmp14_;
#line 325 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp11_ = gtk_spin_button_get_value (_tmp10_);
+ _tmp7_ = self->priv->hour;
#line 325 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp11_ == 12.0) {
+ if (gtk_spin_button_get_value (_tmp7_) == 12.0) {
#line 325 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp9_ = 0;
-#line 2200 "AdjustDateTimeDialog.c"
+ _tmp6_ = 0;
+#line 2145 "AdjustDateTimeDialog.c"
} else {
- GtkSpinButton* _tmp12_;
- gdouble _tmp13_;
-#line 325 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp12_ = self->priv->hour;
+ GtkSpinButton* _tmp8_;
#line 325 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp13_ = gtk_spin_button_get_value (_tmp12_);
+ _tmp8_ = self->priv->hour;
#line 325 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp9_ = (gint) _tmp13_;
-#line 2210 "AdjustDateTimeDialog.c"
+ _tmp6_ = (gint) gtk_spin_button_get_value (_tmp8_);
+#line 2152 "AdjustDateTimeDialog.c"
}
#line 325 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time = _tmp9_;
+ time = _tmp6_;
#line 326 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp15_ = self->priv->previous_time_system;
+ _tmp10_ = self->priv->previous_time_system;
#line 326 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp15_ == ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM) {
+ if (_tmp10_ == ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM) {
#line 326 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp14_ = 12;
-#line 2220 "AdjustDateTimeDialog.c"
+ _tmp9_ = 12;
+#line 2162 "AdjustDateTimeDialog.c"
} else {
#line 326 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp14_ = 0;
-#line 2224 "AdjustDateTimeDialog.c"
+ _tmp9_ = 0;
+#line 2166 "AdjustDateTimeDialog.c"
}
#line 326 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp16_ = time;
+ _tmp11_ = time;
#line 326 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- time = _tmp16_ + _tmp14_;
+ time = _tmp11_ + _tmp9_;
#line 328 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp17_ = self->priv->hour;
+ _tmp12_ = self->priv->hour;
#line 328 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_spin_button_set_range (_tmp17_, (gdouble) 0, (gdouble) 23);
+ gtk_spin_button_set_range (_tmp12_, (gdouble) 0, (gdouble) 23);
#line 329 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_set_original_time_label (self, TRUE);
#line 331 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp18_ = self->priv->hour;
+ _tmp13_ = self->priv->hour;
#line 331 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp19_ = time;
+ _tmp14_ = time;
#line 331 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_spin_button_set_value (_tmp18_, (gdouble) _tmp19_);
-#line 2242 "AdjustDateTimeDialog.c"
+ gtk_spin_button_set_value (_tmp13_, (gdouble) _tmp14_);
+#line 2184 "AdjustDateTimeDialog.c"
} else {
gint AMPM_hour = 0;
+ GtkSpinButton* _tmp15_;
+ GtkSpinButton* _tmp16_;
+ gint _tmp17_ = 0;
+ gint _tmp18_;
GtkSpinButton* _tmp20_;
- gdouble _tmp21_;
- GtkSpinButton* _tmp22_;
- gint _tmp23_ = 0;
- gint _tmp24_;
- GtkSpinButton* _tmp26_;
#line 333 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp20_ = self->priv->hour;
-#line 333 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp21_ = gtk_spin_button_get_value (_tmp20_);
+ _tmp15_ = self->priv->hour;
#line 333 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- AMPM_hour = ((gint) _tmp21_) % 12;
+ AMPM_hour = ((gint) gtk_spin_button_get_value (_tmp15_)) % 12;
#line 335 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp22_ = self->priv->hour;
+ _tmp16_ = self->priv->hour;
#line 335 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_spin_button_set_range (_tmp22_, (gdouble) 1, (gdouble) 12);
+ gtk_spin_button_set_range (_tmp16_, (gdouble) 1, (gdouble) 12);
#line 336 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_set_original_time_label (self, FALSE);
#line 338 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp24_ = AMPM_hour;
+ _tmp18_ = AMPM_hour;
#line 338 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- if (_tmp24_ == 0) {
+ if (_tmp18_ == 0) {
#line 338 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp23_ = 12;
-#line 2269 "AdjustDateTimeDialog.c"
+ _tmp17_ = 12;
+#line 2208 "AdjustDateTimeDialog.c"
} else {
- gint _tmp25_;
+ gint _tmp19_;
#line 338 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp25_ = AMPM_hour;
+ _tmp19_ = AMPM_hour;
#line 338 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp23_ = _tmp25_;
-#line 2276 "AdjustDateTimeDialog.c"
+ _tmp17_ = _tmp19_;
+#line 2215 "AdjustDateTimeDialog.c"
}
#line 338 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- _tmp26_ = self->priv->hour;
+ _tmp20_ = self->priv->hour;
#line 338 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
- gtk_spin_button_set_value (_tmp26_, (gdouble) _tmp23_);
-#line 2282 "AdjustDateTimeDialog.c"
+ gtk_spin_button_set_value (_tmp20_, (gdouble) _tmp17_);
+#line 2221 "AdjustDateTimeDialog.c"
}
#line 341 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_on_time_changed (self);
-#line 2286 "AdjustDateTimeDialog.c"
+#line 2225 "AdjustDateTimeDialog.c"
}
-static void adjust_date_time_dialog_class_init (AdjustDateTimeDialogClass * klass) {
+static void
+adjust_date_time_dialog_class_init (AdjustDateTimeDialogClass * klass)
+{
#line 8 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
adjust_date_time_dialog_parent_class = g_type_class_peek_parent (klass);
#line 8 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
g_type_class_add_private (klass, sizeof (AdjustDateTimeDialogPrivate));
#line 8 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
G_OBJECT_CLASS (klass)->finalize = adjust_date_time_dialog_finalize;
-#line 2297 "AdjustDateTimeDialog.c"
+#line 2238 "AdjustDateTimeDialog.c"
}
-static void adjust_date_time_dialog_instance_init (AdjustDateTimeDialog * self) {
+static void
+adjust_date_time_dialog_instance_init (AdjustDateTimeDialog * self)
+{
#line 8 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
self->priv = ADJUST_DATE_TIME_DIALOG_GET_PRIVATE (self);
#line 13 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
self->priv->no_original_time = FALSE;
-#line 2306 "AdjustDateTimeDialog.c"
+#line 2249 "AdjustDateTimeDialog.c"
}
-static void adjust_date_time_dialog_finalize (GObject * obj) {
+static void
+adjust_date_time_dialog_finalize (GObject * obj)
+{
AdjustDateTimeDialog * self;
#line 8 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialog);
@@ -2334,11 +2279,13 @@ static void adjust_date_time_dialog_finalize (GObject * obj) {
_g_object_unref0 (self->priv->notification);
#line 8 "/home/jens/Source/shotwell/src/dialogs/AdjustDateTimeDialog.vala"
G_OBJECT_CLASS (adjust_date_time_dialog_parent_class)->finalize (obj);
-#line 2336 "AdjustDateTimeDialog.c"
+#line 2281 "AdjustDateTimeDialog.c"
}
-GType adjust_date_time_dialog_get_type (void) {
+GType
+adjust_date_time_dialog_get_type (void)
+{
static volatile gsize adjust_date_time_dialog_type_id__volatile = 0;
if (g_once_init_enter (&adjust_date_time_dialog_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (AdjustDateTimeDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) adjust_date_time_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (AdjustDateTimeDialog), 0, (GInstanceInitFunc) adjust_date_time_dialog_instance_init, NULL };