Advertisement
Guest User

Untitled

a guest
Mar 17th, 2018
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Vala 94.16 KB | None | 0 0
  1. /* query-row.c generated by valac 0.40.0, the Vala compiler
  2.  * generated from query-row.vala, do not modify */
  3.  
  4. /* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*-  */
  5. /*
  6.  * query-row.vala
  7.  *
  8.  * filefinder is free software: you can redistribute it and/or modify it
  9.  * under the terms of the GNU General Public License as published by the
  10.  * Free Software Foundation, either version 3 of the License, or
  11.  * (at your option) any later version.
  12.  *
  13.  * filefinder is distributed in the hope that it will be useful, but
  14.  * WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  16.  * See the GNU General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU General Public License along
  19.  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  20.  */
  21.  
  22.  
  23. #include <glib.h>
  24. #include <glib-object.h>
  25. #include <gtk/gtk.h>
  26. #include <stdlib.h>
  27. #include <string.h>
  28. #include <gdk/gdk.h>
  29. #include <float.h>
  30. #include <math.h>
  31.  
  32.  
  33. #define TYPE_QUERY_ROW (query_row_get_type ())
  34. #define QUERY_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_QUERY_ROW, QueryRow))
  35. #define QUERY_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_QUERY_ROW, QueryRowClass))
  36. #define IS_QUERY_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_QUERY_ROW))
  37. #define IS_QUERY_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_QUERY_ROW))
  38. #define QUERY_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_QUERY_ROW, QueryRowClass))
  39.  
  40. typedef struct _QueryRow QueryRow;
  41. typedef struct _QueryRowClass QueryRowClass;
  42. typedef struct _QueryRowPrivate QueryRowPrivate;
  43.  
  44. #define TYPE_FILTER_LOCATION (filter_location_get_type ())
  45. #define FILTER_LOCATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER_LOCATION, FilterLocation))
  46. #define FILTER_LOCATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER_LOCATION, FilterLocationClass))
  47. #define IS_FILTER_LOCATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER_LOCATION))
  48. #define IS_FILTER_LOCATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER_LOCATION))
  49. #define FILTER_LOCATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER_LOCATION, FilterLocationClass))
  50.  
  51. typedef struct _FilterLocation FilterLocation;
  52. typedef struct _FilterLocationClass FilterLocationClass;
  53.  
  54. #define TYPE_FILTER_FILES (filter_files_get_type ())
  55. #define FILTER_FILES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER_FILES, FilterFiles))
  56. #define FILTER_FILES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER_FILES, FilterFilesClass))
  57. #define IS_FILTER_FILES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER_FILES))
  58. #define IS_FILTER_FILES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER_FILES))
  59. #define FILTER_FILES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER_FILES, FilterFilesClass))
  60.  
  61. typedef struct _FilterFiles FilterFiles;
  62. typedef struct _FilterFilesClass FilterFilesClass;
  63.  
  64. #define TYPE_FILTER (filter_get_type ())
  65. #define FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER, Filter))
  66. #define FILTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER, FilterClass))
  67. #define IS_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER))
  68. #define IS_FILTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER))
  69. #define FILTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER, FilterClass))
  70.  
  71. typedef struct _Filter Filter;
  72. typedef struct _FilterClass FilterClass;
  73.  
  74. #define TYPE_FILTER_MIME (filter_mime_get_type ())
  75. #define FILTER_MIME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER_MIME, FilterMime))
  76. #define FILTER_MIME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER_MIME, FilterMimeClass))
  77. #define IS_FILTER_MIME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER_MIME))
  78. #define IS_FILTER_MIME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER_MIME))
  79. #define FILTER_MIME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER_MIME, FilterMimeClass))
  80.  
  81. typedef struct _FilterMime FilterMime;
  82. typedef struct _FilterMimeClass FilterMimeClass;
  83.  
  84. #define TYPE_MIME_BUTTON (mime_button_get_type ())
  85. #define MIME_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MIME_BUTTON, MimeButton))
  86. #define MIME_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MIME_BUTTON, MimeButtonClass))
  87. #define IS_MIME_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MIME_BUTTON))
  88. #define IS_MIME_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MIME_BUTTON))
  89. #define MIME_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MIME_BUTTON, MimeButtonClass))
  90.  
  91. typedef struct _MimeButton MimeButton;
  92. typedef struct _MimeButtonClass MimeButtonClass;
  93.  
  94. #define TYPE_FILTER_MASK (filter_mask_get_type ())
  95. #define FILTER_MASK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER_MASK, FilterMask))
  96. #define FILTER_MASK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER_MASK, FilterMaskClass))
  97. #define IS_FILTER_MASK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER_MASK))
  98. #define IS_FILTER_MASK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER_MASK))
  99. #define FILTER_MASK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER_MASK, FilterMaskClass))
  100.  
  101. typedef struct _FilterMask FilterMask;
  102. typedef struct _FilterMaskClass FilterMaskClass;
  103.  
  104. #define TYPE_FILTER_MODIFIED (filter_modified_get_type ())
  105. #define FILTER_MODIFIED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER_MODIFIED, FilterModified))
  106. #define FILTER_MODIFIED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER_MODIFIED, FilterModifiedClass))
  107. #define IS_FILTER_MODIFIED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER_MODIFIED))
  108. #define IS_FILTER_MODIFIED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER_MODIFIED))
  109. #define FILTER_MODIFIED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER_MODIFIED, FilterModifiedClass))
  110.  
  111. typedef struct _FilterModified FilterModified;
  112. typedef struct _FilterModifiedClass FilterModifiedClass;
  113.  
  114. #define TYPE_FILTER_TEXT (filter_text_get_type ())
  115. #define FILTER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER_TEXT, FilterText))
  116. #define FILTER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER_TEXT, FilterTextClass))
  117. #define IS_FILTER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER_TEXT))
  118. #define IS_FILTER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER_TEXT))
  119. #define FILTER_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER_TEXT, FilterTextClass))
  120.  
  121. typedef struct _FilterText FilterText;
  122. typedef struct _FilterTextClass FilterTextClass;
  123.  
  124. #define TYPE_FILTER_BIN (filter_bin_get_type ())
  125. #define FILTER_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER_BIN, FilterBin))
  126. #define FILTER_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER_BIN, FilterBinClass))
  127. #define IS_FILTER_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER_BIN))
  128. #define IS_FILTER_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER_BIN))
  129. #define FILTER_BIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER_BIN, FilterBinClass))
  130.  
  131. typedef struct _FilterBin FilterBin;
  132. typedef struct _FilterBinClass FilterBinClass;
  133.  
  134. #define TYPE_FILTER_SIZE (filter_size_get_type ())
  135. #define FILTER_SIZE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILTER_SIZE, FilterSize))
  136. #define FILTER_SIZE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILTER_SIZE, FilterSizeClass))
  137. #define IS_FILTER_SIZE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILTER_SIZE))
  138. #define IS_FILTER_SIZE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILTER_SIZE))
  139. #define FILTER_SIZE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILTER_SIZE, FilterSizeClass))
  140.  
  141. typedef struct _FilterSize FilterSize;
  142. typedef struct _FilterSizeClass FilterSizeClass;
  143. enum  {
  144.     QUERY_ROW_0_PROPERTY,
  145.     QUERY_ROW_FILTER_PROPERTY,
  146.     QUERY_ROW_ROW_TYPE_PROPERTY,
  147.     QUERY_ROW_NUM_PROPERTIES
  148. };
  149. static GParamSpec* query_row_properties[QUERY_ROW_NUM_PROPERTIES];
  150. #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
  151. #define _filter_unref0(var) ((var == NULL) ? NULL : (var = (filter_unref (var), NULL)))
  152. #define _g_free0(var) (var = (g_free (var), NULL))
  153.  
  154. #define TYPE_FILE_FINDER_WINDOW (file_finder_window_get_type ())
  155. #define FILE_FINDER_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FILE_FINDER_WINDOW, FileFinderWindow))
  156. #define FILE_FINDER_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_FILE_FINDER_WINDOW, FileFinderWindowClass))
  157. #define IS_FILE_FINDER_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FILE_FINDER_WINDOW))
  158. #define IS_FILE_FINDER_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_FILE_FINDER_WINDOW))
  159. #define FILE_FINDER_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_FILE_FINDER_WINDOW, FileFinderWindowClass))
  160.  
  161. typedef struct _FileFinderWindow FileFinderWindow;
  162. typedef struct _FileFinderWindowClass FileFinderWindowClass;
  163.  
  164. #define TYPE_TYPES (types_get_type ())
  165. #define __g_slist_free__g_free0_0(var) ((var == NULL) ? NULL : (var = (_g_slist_free__g_free0_ (var), NULL)))
  166.  
  167. #define TYPE_PREFERENCES (preferences_get_type ())
  168. #define PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREFERENCES, Preferences))
  169. #define PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREFERENCES, PreferencesClass))
  170. #define IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREFERENCES))
  171. #define IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREFERENCES))
  172. #define PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREFERENCES, PreferencesClass))
  173.  
  174. typedef struct _Preferences Preferences;
  175. typedef struct _PreferencesClass PreferencesClass;
  176.  
  177. #define TYPE_MIME_GROUP (mime_group_get_type ())
  178. typedef struct _MimeGroup MimeGroup;
  179. typedef struct _Block2Data Block2Data;
  180.  
  181. #define TYPE_DATE_OPERATOR (date_operator_get_type ())
  182. typedef struct _Block3Data Block3Data;
  183. typedef struct _Block4Data Block4Data;
  184. #define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
  185. typedef struct _Block5Data Block5Data;
  186. enum  {
  187.     QUERY_ROW_CLOSED_SIGNAL,
  188.     QUERY_ROW_CHANGED_TYPE_SIGNAL,
  189.     QUERY_ROW_SEARCH_SIGNAL,
  190.     QUERY_ROW_NUM_SIGNALS
  191. };
  192. static guint query_row_signals[QUERY_ROW_NUM_SIGNALS] = {0};
  193.  
  194. struct _QueryRow {
  195.     GtkBox parent_instance;
  196.     QueryRowPrivate * priv;
  197.     FilterLocation* location;
  198.     GtkFileChooserButton* chooser;
  199.     FilterFiles* files;
  200.     GtkButton* files_btn;
  201. };
  202.  
  203. struct _QueryRowClass {
  204.     GtkBoxClass parent_class;
  205. };
  206.  
  207. struct _QueryRowPrivate {
  208.     GtkComboBoxText* combo_type;
  209.     GtkBox* hbox;
  210.     Filter* _filter;
  211.     GtkCheckButton* chk_rec;
  212.     FilterMime* mime;
  213.     MimeButton* mime_menu;
  214.     FilterMask* mask;
  215.     GtkEntry* mask_entry;
  216.     GtkCheckButton* mask_case;
  217.     FilterModified* modified;
  218.     GtkButton* mod_btn;
  219.     FilterText* text;
  220.     GtkEntry* text_entry;
  221.     GtkLabel* text_enc;
  222.     GtkCheckButton* text_case;
  223.     GtkPopover* tpop;
  224.     FilterBin* bin;
  225.     GtkEntry* bin_entry;
  226.     FilterSize* size;
  227. };
  228.  
  229. typedef enum  {
  230.     TYPES_LOCATION,
  231.     TYPES_FILES,
  232.     TYPES_FILEMASK,
  233.     TYPES_MIMETYPE,
  234.     TYPES_TEXT,
  235.     TYPES_BINARY,
  236.     TYPES_SIZE,
  237.     TYPES_MODIFIED,
  238.     TYPES_NONE
  239. } types;
  240.  
  241. struct _MimeGroup {
  242.     gchar* name;
  243.     gchar** mimes;
  244.     gint mimes_length1;
  245. };
  246.  
  247. struct _Block2Data {
  248.     int _ref_count_;
  249.     QueryRow* self;
  250.     GtkComboBoxText* size_combo;
  251.     GtkEntry* size_entry;
  252.     GtkComboBoxText* w_combo;
  253. };
  254.  
  255. typedef enum  {
  256.     DATE_OPERATOR_NOT_EQUAL,
  257.     DATE_OPERATOR_LESS,
  258.     DATE_OPERATOR_LESS_EQUAL,
  259.     DATE_OPERATOR_EQUAL,
  260.     DATE_OPERATOR_MORE_EQUAL,
  261.     DATE_OPERATOR_MORE
  262. } date_operator;
  263.  
  264. struct _Block3Data {
  265.     int _ref_count_;
  266.     QueryRow* self;
  267.     GtkComboBoxText* mod_combo;
  268. };
  269.  
  270. struct _Block4Data {
  271.     int _ref_count_;
  272.     QueryRow* self;
  273.     GtkCalendar* cal;
  274. };
  275.  
  276. struct _Block5Data {
  277.     int _ref_count_;
  278.     QueryRow* self;
  279.     GtkComboBoxText* text_combo;
  280. };
  281.  
  282.  
  283. static gpointer query_row_parent_class = NULL;
  284. extern FileFinderWindow* filefinder_window;
  285. extern Preferences* filefinder_preferences;
  286. extern guint* filter_size_WEIGHT;
  287. extern gint filter_size_WEIGHT_length1;
  288.  
  289. GType query_row_get_type (void) G_GNUC_CONST;
  290. GType filter_location_get_type (void) G_GNUC_CONST;
  291. GType filter_files_get_type (void) G_GNUC_CONST;
  292. gpointer filter_ref (gpointer instance);
  293. void filter_unref (gpointer instance);
  294. GParamSpec* param_spec_filter (const gchar* name,
  295.                                const gchar* nick,
  296.                                const gchar* blurb,
  297.                                GType object_type,
  298.                                GParamFlags flags);
  299. void value_set_filter (GValue* value,
  300.                        gpointer v_object);
  301. void value_take_filter (GValue* value,
  302.                         gpointer v_object);
  303. gpointer value_get_filter (const GValue* value);
  304. GType filter_get_type (void) G_GNUC_CONST;
  305. GType filter_mime_get_type (void) G_GNUC_CONST;
  306. GType mime_button_get_type (void) G_GNUC_CONST;
  307. GType filter_mask_get_type (void) G_GNUC_CONST;
  308. GType filter_modified_get_type (void) G_GNUC_CONST;
  309. GType filter_text_get_type (void) G_GNUC_CONST;
  310. GType filter_bin_get_type (void) G_GNUC_CONST;
  311. GType filter_size_get_type (void) G_GNUC_CONST;
  312. #define QUERY_ROW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_QUERY_ROW, QueryRowPrivate))
  313. QueryRow* query_row_new (void);
  314. QueryRow* query_row_construct (GType object_type);
  315. Filter* filter_new (void);
  316. Filter* filter_construct (GType object_type);
  317. static void __lambda66_ (QueryRow* self);
  318. static void query_row_create_type_widgets (QueryRow* self);
  319. static void ___lambda66__gtk_combo_box_changed (GtkComboBox* _sender,
  320.                                          gpointer self);
  321. static void __lambda92_ (QueryRow* self);
  322. static void ___lambda92__gtk_button_clicked (GtkButton* _sender,
  323.                                       gpointer self);
  324. GType file_finder_window_get_type (void) G_GNUC_CONST;
  325. GType types_get_type (void) G_GNUC_CONST;
  326. FilterLocation* filter_location_new (void);
  327. FilterLocation* filter_location_construct (GType object_type);
  328. void filter_set_filter_value (Filter* self,
  329.                               GObject* value);
  330. void filter_location_set_folder (FilterLocation* self,
  331.                                  const gchar* value);
  332. const gchar* filter_location_get_folder (FilterLocation* self);
  333. static void ___lambda67_ (QueryRow* self);
  334. static void ____lambda67__gtk_file_chooser_button_file_set (GtkFileChooserButton* _sender,
  335.                                                      gpointer self);
  336. static void ___lambda68_ (QueryRow* self);
  337. void filter_location_set_recursive (FilterLocation* self,
  338.                                     gboolean value);
  339. static void ____lambda68__gtk_toggle_button_toggled (GtkToggleButton* _sender,
  340.                                               gpointer self);
  341. FilterFiles* filter_files_new (void);
  342. FilterFiles* filter_files_construct (GType object_type);
  343. static void ___lambda69_ (QueryRow* self);
  344. void filter_files_clear (FilterFiles* self);
  345. void filter_files_add (FilterFiles* self,
  346.                        const gchar* path);
  347. static void _g_free0_ (gpointer var);
  348. static inline void _g_slist_free__g_free0_ (GSList* self);
  349. static void ____lambda69__gtk_button_clicked (GtkButton* _sender,
  350.                                        gpointer self);
  351. FilterMime* filter_mime_new (void);
  352. FilterMime* filter_mime_construct (GType object_type);
  353. GType preferences_get_type (void) G_GNUC_CONST;
  354. GType mime_group_get_type (void) G_GNUC_CONST;
  355. MimeGroup* mime_group_dup (const MimeGroup* self);
  356. void mime_group_free (MimeGroup* self);
  357. void mime_group_copy (const MimeGroup* self,
  358.                       MimeGroup* dest);
  359. void mime_group_destroy (MimeGroup* self);
  360. MimeGroup* preferences_get_mime_type_groups (Preferences* self,
  361.                                              int* result_length1);
  362. void filter_mime_set_name (FilterMime* self,
  363.                            const gchar* value);
  364. void filter_mime_add (FilterMime* self,
  365.                       const gchar* mimetype);
  366. MimeButton* mime_button_new (FilterMime* filter);
  367. MimeButton* mime_button_construct (GType object_type,
  368.                                    FilterMime* filter);
  369. FilterMask* filter_mask_new (void);
  370. FilterMask* filter_mask_construct (GType object_type);
  371. static void ___lambda70_ (QueryRow* self);
  372. void filter_mask_set_mask (FilterMask* self,
  373.                            const gchar* value);
  374. static void ____lambda70__gtk_editable_changed (GtkEditable* _sender,
  375.                                          gpointer self);
  376. static void ___lambda71_ (QueryRow* self);
  377. static void ____lambda71__gtk_entry_activate (GtkEntry* _sender,
  378.                                        gpointer self);
  379. static void ___lambda72_ (QueryRow* self,
  380.                    GtkEntryIconPosition pos,
  381.                    GdkEventButton* event);
  382. static void ____lambda72__gtk_entry_icon_press (GtkEntry* _sender,
  383.                                          GtkEntryIconPosition icon_pos,
  384.                                          GdkEventButton* event,
  385.                                          gpointer self);
  386. static void ___lambda73_ (QueryRow* self);
  387. void filter_mask_set_case_sensetive (FilterMask* self,
  388.                                      gboolean value);
  389. static void ____lambda73__gtk_toggle_button_toggled (GtkToggleButton* _sender,
  390.                                               gpointer self);
  391. static Block2Data* block2_data_ref (Block2Data* _data2_);
  392. static void block2_data_unref (void * _userdata_);
  393. FilterSize* filter_size_new (void);
  394. FilterSize* filter_size_construct (GType object_type);
  395. GType date_operator_get_type (void) G_GNUC_CONST;
  396. date_operator filter_size_get_operator (FilterSize* self);
  397. static void ___lambda74_ (Block2Data* _data2_);
  398. void filter_size_set_operator (FilterSize* self,
  399.                                date_operator value);
  400. static void ____lambda74__gtk_combo_box_changed (GtkComboBox* _sender,
  401.                                           gpointer self);
  402. static void ___lambda75_ (Block2Data* _data2_,
  403.                    GtkEntryIconPosition pos,
  404.                    GdkEventButton* event);
  405. static void ____lambda75__gtk_entry_icon_press (GtkEntry* _sender,
  406.                                          GtkEntryIconPosition icon_pos,
  407.                                          GdkEventButton* event,
  408.                                          gpointer self);
  409. static void ___lambda76_ (Block2Data* _data2_);
  410. void filter_size_set_size (FilterSize* self,
  411.                            guint64 value);
  412. static void ____lambda76__gtk_combo_box_changed (GtkComboBox* _sender,
  413.                                           gpointer self);
  414. static void ___lambda77_ (Block2Data* _data2_);
  415. static gchar* query_row_check_dec (QueryRow* self,
  416.                             const gchar* txt);
  417. static void ____lambda77__gtk_editable_changed (GtkEditable* _sender,
  418.                                          gpointer self);
  419. static void ___lambda78_ (QueryRow* self);
  420. static void ____lambda78__gtk_entry_activate (GtkEntry* _sender,
  421.                                        gpointer self);
  422. static Block3Data* block3_data_ref (Block3Data* _data3_);
  423. static void block3_data_unref (void * _userdata_);
  424. FilterModified* filter_modified_new (void);
  425. FilterModified* filter_modified_construct (GType object_type);
  426. date_operator filter_modified_get_operator (FilterModified* self);
  427. static void ___lambda79_ (Block3Data* _data3_);
  428. void filter_modified_set_operator (FilterModified* self,
  429.                                    date_operator value);
  430. static void ____lambda79__gtk_combo_box_changed (GtkComboBox* _sender,
  431.                                           gpointer self);
  432. GDateTime* filter_modified_get_date (FilterModified* self);
  433. static void ___lambda80_ (QueryRow* self);
  434. static Block4Data* block4_data_ref (Block4Data* _data4_);
  435. static void block4_data_unref (void * _userdata_);
  436. static void __lambda81_ (Block4Data* _data4_);
  437. void filter_modified_set_date (FilterModified* self,
  438.                                GDateTime* value);
  439. static void ___lambda81__gtk_calendar_day_selected (GtkCalendar* _sender,
  440.                                              gpointer self);
  441. static void ____lambda80__gtk_button_clicked (GtkButton* _sender,
  442.                                        gpointer self);
  443. static Block5Data* block5_data_ref (Block5Data* _data5_);
  444. static void block5_data_unref (void * _userdata_);
  445. FilterText* filter_text_new (void);
  446. FilterText* filter_text_construct (GType object_type);
  447. void filter_text_set_text (FilterText* self,
  448.                            const gchar* value);
  449. const gchar* filter_text_get_text (FilterText* self);
  450. static void ___lambda82_ (QueryRow* self,
  451.                    GtkEntryIconPosition pos,
  452.                    GdkEventButton* event);
  453. static void ____lambda82__gtk_entry_icon_press (GtkEntry* _sender,
  454.                                          GtkEntryIconPosition icon_pos,
  455.                                          GdkEventButton* event,
  456.                                          gpointer self);
  457. static void ___lambda83_ (QueryRow* self);
  458. static void ____lambda83__gtk_editable_changed (GtkEditable* _sender,
  459.                                          gpointer self);
  460. static void ___lambda84_ (QueryRow* self);
  461. static void ____lambda84__gtk_entry_activate (GtkEntry* _sender,
  462.                                        gpointer self);
  463. void filter_text_set_encoding (FilterText* self,
  464.                                const gchar* value);
  465. static gboolean ___lambda85_ (QueryRow* self);
  466. static gboolean ____lambda85__gtk_widget_button_press_event (GtkWidget* _sender,
  467.                                                       GdkEventButton* event,
  468.                                                       gpointer self);
  469. static void ___lambda86_ (Block5Data* _data5_);
  470. const gchar* filter_text_get_encoding (FilterText* self);
  471. static void ____lambda86__gtk_combo_box_changed (GtkComboBox* _sender,
  472.                                           gpointer self);
  473. static void ___lambda87_ (QueryRow* self);
  474. void filter_text_set_case_sensetive (FilterText* self,
  475.                                      gboolean value);
  476. static void ____lambda87__gtk_toggle_button_toggled (GtkToggleButton* _sender,
  477.                                               gpointer self);
  478. FilterBin* filter_bin_new (void);
  479. FilterBin* filter_bin_construct (GType object_type);
  480. static void ___lambda88_ (QueryRow* self);
  481. static gchar* query_row_check_hex (QueryRow* self,
  482.                             const gchar* txt);
  483. void filter_bin_set_bin (FilterBin* self,
  484.                          const gchar* value);
  485. static void ____lambda88__gtk_editable_changed (GtkEditable* _sender,
  486.                                          gpointer self);
  487. static gboolean ___lambda89_ (QueryRow* self);
  488. static gboolean ____lambda89__gtk_widget_focus_out_event (GtkWidget* _sender,
  489.                                                    GdkEventFocus* event,
  490.                                                    gpointer self);
  491. static void ___lambda90_ (QueryRow* self);
  492. static void ____lambda90__gtk_entry_activate (GtkEntry* _sender,
  493.                                        gpointer self);
  494. static void ___lambda91_ (QueryRow* self,
  495.                    GtkEntryIconPosition pos,
  496.                    GdkEventButton* event);
  497. static void ____lambda91__gtk_entry_icon_press (GtkEntry* _sender,
  498.                                          GtkEntryIconPosition icon_pos,
  499.                                          GdkEventButton* event,
  500.                                          gpointer self);
  501. void filter_set_filter_type (Filter* self,
  502.                              types value);
  503. Filter* query_row_get_filter (QueryRow* self);
  504. types query_row_get_row_type (QueryRow* self);
  505. void query_row_set_row_type (QueryRow* self,
  506.                              types value);
  507. static void query_row_finalize (GObject * obj);
  508. static void _vala_query_row_get_property (GObject * object,
  509.                                    guint property_id,
  510.                                    GValue * value,
  511.                                    GParamSpec * pspec);
  512. static void _vala_query_row_set_property (GObject * object,
  513.                                    guint property_id,
  514.                                    const GValue * value,
  515.                                    GParamSpec * pspec);
  516. static void _vala_array_destroy (gpointer array,
  517.                           gint array_length,
  518.                           GDestroyNotify destroy_func);
  519. static void _vala_array_free (gpointer array,
  520.                        gint array_length,
  521.                        GDestroyNotify destroy_func);
  522.  
  523. extern const gchar* type_names[8];
  524. extern const gchar* date_operators[6];
  525. extern const gchar* TEXT_encodings[72];
  526.  
  527. static void
  528. __lambda66_ (QueryRow* self)
  529. {
  530.     query_row_create_type_widgets (self);
  531.     g_signal_emit (self, query_row_signals[QUERY_ROW_CHANGED_TYPE_SIGNAL], 0, self);
  532. }
  533.  
  534.  
  535. static void
  536. ___lambda66__gtk_combo_box_changed (GtkComboBox* _sender,
  537.                                     gpointer self)
  538. {
  539.     __lambda66_ ((QueryRow*) self);
  540. }
  541.  
  542.  
  543. static void
  544. __lambda92_ (QueryRow* self)
  545. {
  546.     g_signal_emit (self, query_row_signals[QUERY_ROW_CLOSED_SIGNAL], 0, self);
  547. }
  548.  
  549.  
  550. static void
  551. ___lambda92__gtk_button_clicked (GtkButton* _sender,
  552.                                  gpointer self)
  553. {
  554.     __lambda92_ ((QueryRow*) self);
  555. }
  556.  
  557.  
  558. QueryRow*
  559. query_row_construct (GType object_type)
  560. {
  561.     QueryRow * self = NULL;
  562.     Filter* _tmp0_;
  563.     GtkComboBoxText* _tmp1_;
  564.     GtkComboBoxText* _tmp2_;
  565.     GtkComboBoxText* _tmp8_;
  566.     GtkComboBoxText* _tmp9_;
  567.     GtkComboBoxText* _tmp10_;
  568.     GtkButton* btn = NULL;
  569.     GtkButton* _tmp11_;
  570.     GtkStyleContext* _tmp12_;
  571.     self = (QueryRow*) g_object_new (object_type, "orientation", GTK_ORIENTATION_HORIZONTAL, "spacing", 6, NULL);
  572.     g_object_set ((GtkWidget*) self, "margin", 2, NULL);
  573.     _tmp0_ = filter_new ();
  574.     _filter_unref0 (self->priv->_filter);
  575.     self->priv->_filter = _tmp0_;
  576.     _tmp1_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
  577.     g_object_ref_sink (_tmp1_);
  578.     _g_object_unref0 (self->priv->combo_type);
  579.     self->priv->combo_type = _tmp1_;
  580.     _tmp2_ = self->priv->combo_type;
  581.     gtk_widget_set_tooltip_text ((GtkWidget*) _tmp2_, "Change Filter Type");
  582.     {
  583.         const gchar** s_collection = NULL;
  584.         gint s_collection_length1 = 0;
  585.         gint _s_collection_size_ = 0;
  586.         gint s_it = 0;
  587.         s_collection = type_names;
  588.         s_collection_length1 = G_N_ELEMENTS (type_names);
  589.         for (s_it = 0; s_it < G_N_ELEMENTS (type_names); s_it = s_it + 1) {
  590.             gchar* _tmp3_;
  591.             gchar* s = NULL;
  592.             _tmp3_ = g_strdup (s_collection[s_it]);
  593.             s = _tmp3_;
  594.             {
  595.                 GtkComboBoxText* _tmp4_;
  596.                 const gchar* _tmp5_;
  597.                 gchar* _tmp6_;
  598.                 gchar* _tmp7_;
  599.                 _tmp4_ = self->priv->combo_type;
  600.                 _tmp5_ = s;
  601.                 _tmp6_ = g_utf8_strup (_tmp5_, (gssize) -1);
  602.                 _tmp7_ = _tmp6_;
  603.                 gtk_combo_box_text_append_text (_tmp4_, _tmp7_);
  604.                 _g_free0 (_tmp7_);
  605.                 _g_free0 (s);
  606.             }
  607.         }
  608.     }
  609.     _tmp8_ = self->priv->combo_type;
  610.     gtk_combo_box_set_active ((GtkComboBox*) _tmp8_, 0);
  611.     _tmp9_ = self->priv->combo_type;
  612.     gtk_container_add ((GtkContainer*) self, (GtkWidget*) _tmp9_);
  613.     _tmp10_ = self->priv->combo_type;
  614.     g_signal_connect_object ((GtkComboBox*) _tmp10_, "changed", (GCallback) ___lambda66__gtk_combo_box_changed, self, 0);
  615.     query_row_create_type_widgets (self);
  616.     _tmp11_ = (GtkButton*) gtk_button_new_from_icon_name ("window-close-symbolic", (GtkIconSize) GTK_ICON_SIZE_BUTTON);
  617.     g_object_ref_sink (_tmp11_);
  618.     btn = _tmp11_;
  619.     _tmp12_ = gtk_widget_get_style_context ((GtkWidget*) btn);
  620.     gtk_style_context_add_class (_tmp12_, GTK_STYLE_CLASS_ACCELERATOR);
  621.     gtk_widget_set_tooltip_text ((GtkWidget*) btn, "Remove it from the search query");
  622.     gtk_box_pack_end ((GtkBox*) self, (GtkWidget*) btn, FALSE, FALSE, (guint) 0);
  623.     g_signal_connect_object (btn, "clicked", (GCallback) ___lambda92__gtk_button_clicked, self, 0);
  624.     gtk_widget_show_all ((GtkWidget*) self);
  625.     _g_object_unref0 (btn);
  626.     return self;
  627. }
  628.  
  629.  
  630. QueryRow*
  631. query_row_new (void)
  632. {
  633.     return query_row_construct (TYPE_QUERY_ROW);
  634. }
  635.  
  636.  
  637. static gpointer
  638. _g_object_ref0 (gpointer self)
  639. {
  640.     return self ? g_object_ref (self) : NULL;
  641. }
  642.  
  643.  
  644. static void
  645. ___lambda67_ (QueryRow* self)
  646. {
  647.     FilterLocation* _tmp0_;
  648.     GtkFileChooserButton* _tmp1_;
  649.     GtkFileChooserButton* _tmp2_;
  650.     gchar* _tmp3_;
  651.     gchar* _tmp4_;
  652.     _tmp0_ = self->location;
  653.     _tmp1_ = self->chooser;
  654.     _tmp2_ = self->chooser;
  655.     _tmp3_ = gtk_file_chooser_get_filename ((GtkFileChooser*) _tmp2_);
  656.     _tmp4_ = _tmp3_;
  657.     gtk_widget_set_tooltip_text ((GtkWidget*) _tmp1_, _tmp4_);
  658.     filter_location_set_folder (_tmp0_, _tmp4_);
  659.     _g_free0 (_tmp4_);
  660. }
  661.  
  662.  
  663. static void
  664. ____lambda67__gtk_file_chooser_button_file_set (GtkFileChooserButton* _sender,
  665.                                                 gpointer self)
  666. {
  667.     ___lambda67_ ((QueryRow*) self);
  668. }
  669.  
  670.  
  671. static void
  672. ___lambda68_ (QueryRow* self)
  673. {
  674.     FilterLocation* _tmp0_;
  675.     GtkCheckButton* _tmp1_;
  676.     gboolean _tmp2_;
  677.     gboolean _tmp3_;
  678.     _tmp0_ = self->location;
  679.     _tmp1_ = self->priv->chk_rec;
  680.     _tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
  681.     _tmp3_ = _tmp2_;
  682.     filter_location_set_recursive (_tmp0_, _tmp3_);
  683. }
  684.  
  685.  
  686. static void
  687. ____lambda68__gtk_toggle_button_toggled (GtkToggleButton* _sender,
  688.                                          gpointer self)
  689. {
  690.     ___lambda68_ ((QueryRow*) self);
  691. }
  692.  
  693.  
  694. static gint
  695. string_index_of (const gchar* self,
  696.                  const gchar* needle,
  697.                  gint start_index)
  698. {
  699.     gint result = 0;
  700.     gchar* _result_ = NULL;
  701.     gchar* _tmp0_;
  702.     gchar* _tmp1_;
  703.     g_return_val_if_fail (self != NULL, 0);
  704.     g_return_val_if_fail (needle != NULL, 0);
  705.     _tmp0_ = strstr (((gchar*) self) + start_index, (gchar*) needle);
  706.     _result_ = _tmp0_;
  707.     _tmp1_ = _result_;
  708.     if (_tmp1_ != NULL) {
  709.         gchar* _tmp2_;
  710.         _tmp2_ = _result_;
  711.         result = (gint) (_tmp2_ - ((gchar*) self));
  712.         return result;
  713.     } else {
  714.         result = -1;
  715.         return result;
  716.     }
  717. }
  718.  
  719.  
  720. static glong
  721. string_strnlen (gchar* str,
  722.                 glong maxlen)
  723. {
  724.     glong result = 0L;
  725.     gchar* end = NULL;
  726.     gchar* _tmp0_;
  727.     gchar* _tmp1_;
  728.     _tmp0_ = memchr (str, 0, (gsize) maxlen);
  729.     end = _tmp0_;
  730.     _tmp1_ = end;
  731.     if (_tmp1_ == NULL) {
  732.         result = maxlen;
  733.         return result;
  734.     } else {
  735.         gchar* _tmp2_;
  736.         _tmp2_ = end;
  737.         result = (glong) (_tmp2_ - str);
  738.         return result;
  739.     }
  740. }
  741.  
  742.  
  743. static gchar*
  744. string_substring (const gchar* self,
  745.                   glong offset,
  746.                   glong len)
  747. {
  748.     gchar* result = NULL;
  749.     glong string_length = 0L;
  750.     gboolean _tmp0_ = FALSE;
  751.     glong _tmp6_;
  752.     gchar* _tmp7_;
  753.     g_return_val_if_fail (self != NULL, NULL);
  754.     if (offset >= ((glong) 0)) {
  755.         _tmp0_ = len >= ((glong) 0);
  756.     } else {
  757.         _tmp0_ = FALSE;
  758.     }
  759.     if (_tmp0_) {
  760.         string_length = string_strnlen ((gchar*) self, offset + len);
  761.     } else {
  762.         gint _tmp1_;
  763.         gint _tmp2_;
  764.         _tmp1_ = strlen (self);
  765.         _tmp2_ = _tmp1_;
  766.         string_length = (glong) _tmp2_;
  767.     }
  768.     if (offset < ((glong) 0)) {
  769.         glong _tmp3_;
  770.         _tmp3_ = string_length;
  771.         offset = _tmp3_ + offset;
  772.         g_return_val_if_fail (offset >= ((glong) 0), NULL);
  773.     } else {
  774.         glong _tmp4_;
  775.         _tmp4_ = string_length;
  776.         g_return_val_if_fail (offset <= _tmp4_, NULL);
  777.     }
  778.     if (len < ((glong) 0)) {
  779.         glong _tmp5_;
  780.         _tmp5_ = string_length;
  781.         len = _tmp5_ - offset;
  782.     }
  783.     _tmp6_ = string_length;
  784.     g_return_val_if_fail ((offset + len) <= _tmp6_, NULL);
  785.     _tmp7_ = g_strndup (((gchar*) self) + offset, (gsize) len);
  786.     result = _tmp7_;
  787.     return result;
  788. }
  789.  
  790.  
  791. static gint
  792. string_last_index_of (const gchar* self,
  793.                       const gchar* needle,
  794.                       gint start_index)
  795. {
  796.     gint result = 0;
  797.     gchar* _result_ = NULL;
  798.     gchar* _tmp0_;
  799.     gchar* _tmp1_;
  800.     g_return_val_if_fail (self != NULL, 0);
  801.     g_return_val_if_fail (needle != NULL, 0);
  802.     _tmp0_ = g_strrstr (((gchar*) self) + start_index, (gchar*) needle);
  803.     _result_ = _tmp0_;
  804.     _tmp1_ = _result_;
  805.     if (_tmp1_ != NULL) {
  806.         gchar* _tmp2_;
  807.         _tmp2_ = _result_;
  808.         result = (gint) (_tmp2_ - ((gchar*) self));
  809.         return result;
  810.     } else {
  811.         result = -1;
  812.         return result;
  813.     }
  814. }
  815.  
  816.  
  817. static void
  818. _g_free0_ (gpointer var)
  819. {
  820.     var = (g_free (var), NULL);
  821. }
  822.  
  823.  
  824. static inline void
  825. _g_slist_free__g_free0_ (GSList* self)
  826. {
  827.     g_slist_free_full (self, (GDestroyNotify) _g_free0_);
  828. }
  829.  
  830.  
  831. static void
  832. ___lambda69_ (QueryRow* self)
  833. {
  834.     gint tt = 0;
  835.     gchar* l = NULL;
  836.     gchar* t = NULL;
  837.     GtkFileChooserDialog* c = NULL;
  838.     FileFinderWindow* _tmp0_;
  839.     GtkFileChooserDialog* _tmp1_;
  840.     GtkFileChooserDialog* _tmp2_;
  841.     GtkFileChooserDialog* _tmp3_;
  842.     GtkFileChooserDialog* _tmp47_;
  843.     tt = 0;
  844.     _tmp0_ = filefinder_window;
  845.     _tmp1_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new ("Select files", (GtkWindow*) _tmp0_, GTK_FILE_CHOOSER_ACTION_OPEN, "_Cancel", GTK_RESPONSE_CANCEL, "_Open", GTK_RESPONSE_ACCEPT, NULL);
  846.     g_object_ref_sink (_tmp1_);
  847.     c = _tmp1_;
  848.     _tmp2_ = c;
  849.     gtk_file_chooser_set_select_multiple ((GtkFileChooser*) _tmp2_, TRUE);
  850.     _tmp3_ = c;
  851.     if (gtk_dialog_run ((GtkDialog*) _tmp3_) == ((gint) GTK_RESPONSE_ACCEPT)) {
  852.         GSList* uris = NULL;
  853.         GtkFileChooserDialog* _tmp4_;
  854.         GSList* _tmp5_;
  855.         FilterFiles* _tmp6_;
  856.         gchar* _tmp7_;
  857.         GSList* _tmp8_;
  858.         const gchar* _tmp18_;
  859.         GSList* _tmp19_;
  860.         gchar* _tmp20_;
  861.         gchar* _tmp21_;
  862.         gchar* _tmp22_;
  863.         GSList* _tmp23_;
  864.         GSList* _tmp24_;
  865.         gconstpointer _tmp25_;
  866.         gchar* _tmp26_;
  867.         const gchar* _tmp27_;
  868.         GSList* _tmp35_;
  869.         GtkButton* _tmp45_;
  870.         const gchar* _tmp46_;
  871.         _tmp4_ = c;
  872.         _tmp5_ = gtk_file_chooser_get_filenames ((GtkFileChooser*) _tmp4_);
  873.         uris = _tmp5_;
  874.         _tmp6_ = self->files;
  875.         filter_files_clear (_tmp6_);
  876.         _tmp7_ = g_strdup ("");
  877.         _g_free0 (t);
  878.         t = _tmp7_;
  879.         _tmp8_ = uris;
  880.         {
  881.             GSList* uri_collection = NULL;
  882.             GSList* uri_it = NULL;
  883.             uri_collection = _tmp8_;
  884.             for (uri_it = uri_collection; uri_it != NULL; uri_it = uri_it->next) {
  885.                 const gchar* uri = NULL;
  886.                 uri = (const gchar*) uri_it->data;
  887.                 {
  888.                     FilterFiles* _tmp9_;
  889.                     const gchar* _tmp10_;
  890.                     gint _tmp11_;
  891.                     gint _tmp17_;
  892.                     _tmp9_ = self->files;
  893.                     _tmp10_ = uri;
  894.                     filter_files_add (_tmp9_, _tmp10_);
  895.                     _tmp11_ = tt;
  896.                     if (_tmp11_ < 10) {
  897.                         const gchar* _tmp12_;
  898.                         const gchar* _tmp13_;
  899.                         gchar* _tmp14_;
  900.                         gchar* _tmp15_;
  901.                         gchar* _tmp16_;
  902.                         _tmp12_ = t;
  903.                         _tmp13_ = uri;
  904.                         _tmp14_ = g_strconcat (_tmp13_, "\n", NULL);
  905.                         _tmp15_ = _tmp14_;
  906.                         _tmp16_ = g_strconcat (_tmp12_, _tmp15_, NULL);
  907.                         _g_free0 (t);
  908.                         t = _tmp16_;
  909.                         _g_free0 (_tmp15_);
  910.                     }
  911.                     _tmp17_ = tt;
  912.                     tt = _tmp17_ + 1;
  913.                 }
  914.             }
  915.         }
  916.         _tmp18_ = t;
  917.         _tmp19_ = uris;
  918.         _tmp20_ = g_strdup_printf (" ...\n(%u selected items)", g_slist_length (_tmp19_));
  919.         _tmp21_ = _tmp20_;
  920.         _tmp22_ = g_strconcat (_tmp18_, _tmp21_, NULL);
  921.         _g_free0 (t);
  922.         t = _tmp22_;
  923.         _g_free0 (_tmp21_);
  924.         _tmp23_ = uris;
  925.         _tmp24_ = g_slist_nth (_tmp23_, (guint) 0);
  926.         _tmp25_ = _tmp24_->data;
  927.         _tmp26_ = g_strdup ((const gchar*) _tmp25_);
  928.         _g_free0 (l);
  929.         l = _tmp26_;
  930.         _tmp27_ = l;
  931.         if (string_index_of (_tmp27_, "/", 0) > -1) {
  932.             GtkButton* _tmp28_;
  933.             const gchar* _tmp29_;
  934.             const gchar* _tmp30_;
  935.             gchar* _tmp31_;
  936.             gchar* _tmp32_;
  937.             _tmp28_ = self->files_btn;
  938.             _tmp29_ = l;
  939.             _tmp30_ = l;
  940.             _tmp31_ = string_substring (_tmp29_, (glong) (string_last_index_of (_tmp30_, "/", 0) + 1), (glong) -1);
  941.             _tmp32_ = _tmp31_;
  942.             gtk_button_set_label (_tmp28_, _tmp32_);
  943.             _g_free0 (_tmp32_);
  944.         } else {
  945.             GtkButton* _tmp33_;
  946.             const gchar* _tmp34_;
  947.             _tmp33_ = self->files_btn;
  948.             _tmp34_ = l;
  949.             gtk_button_set_label (_tmp33_, _tmp34_);
  950.         }
  951.         _tmp35_ = uris;
  952.         if (g_slist_length (_tmp35_) > ((guint) 1)) {
  953.             GtkButton* _tmp36_;
  954.             GtkButton* _tmp37_;
  955.             const gchar* _tmp38_;
  956.             const gchar* _tmp39_;
  957.             GSList* _tmp40_;
  958.             gchar* _tmp41_;
  959.             gchar* _tmp42_;
  960.             gchar* _tmp43_;
  961.             gchar* _tmp44_;
  962.             _tmp36_ = self->files_btn;
  963.             _tmp37_ = self->files_btn;
  964.             _tmp38_ = gtk_button_get_label (_tmp37_);
  965.             _tmp39_ = _tmp38_;
  966.             _tmp40_ = uris;
  967.             _tmp41_ = g_strdup_printf (" ... (%u selected items)", g_slist_length (_tmp40_));
  968.             _tmp42_ = _tmp41_;
  969.             _tmp43_ = g_strconcat (_tmp39_, _tmp42_, NULL);
  970.             _tmp44_ = _tmp43_;
  971.             gtk_button_set_label (_tmp37_, _tmp44_);
  972.             _g_free0 (_tmp44_);
  973.             _g_free0 (_tmp42_);
  974.         }
  975.         _tmp45_ = self->files_btn;
  976.         _tmp46_ = t;
  977.         gtk_widget_set_tooltip_text ((GtkWidget*) _tmp45_, _tmp46_);
  978.         __g_slist_free__g_free0_0 (uris);
  979.     }
  980.     _tmp47_ = c;
  981.     g_signal_emit_by_name ((GtkDialog*) _tmp47_, "close");
  982.     _g_object_unref0 (c);
  983.     _g_free0 (t);
  984.     _g_free0 (l);
  985. }
  986.  
  987.  
  988. static void
  989. ____lambda69__gtk_button_clicked (GtkButton* _sender,
  990.                                   gpointer self)
  991. {
  992.     ___lambda69_ ((QueryRow*) self);
  993. }
  994.  
  995.  
  996. static void
  997. ___lambda70_ (QueryRow* self)
  998. {
  999.     FilterMask* _tmp0_;
  1000.     GtkEntry* _tmp1_;
  1001.     const gchar* _tmp2_;
  1002.     const gchar* _tmp3_;
  1003.     GtkEntry* _tmp4_;
  1004.     GtkEntry* _tmp5_;
  1005.     const gchar* _tmp6_;
  1006.     const gchar* _tmp7_;
  1007.     _tmp0_ = self->priv->mask;
  1008.     _tmp1_ = self->priv->mask_entry;
  1009.     _tmp2_ = gtk_entry_get_text (_tmp1_);
  1010.     _tmp3_ = _tmp2_;
  1011.     filter_mask_set_mask (_tmp0_, _tmp3_);
  1012.     _tmp4_ = self->priv->mask_entry;
  1013.     _tmp5_ = self->priv->mask_entry;
  1014.     _tmp6_ = gtk_entry_get_text (_tmp5_);
  1015.     _tmp7_ = _tmp6_;
  1016.     gtk_widget_set_tooltip_text ((GtkWidget*) _tmp4_, _tmp7_);
  1017. }
  1018.  
  1019.  
  1020. static void
  1021. ____lambda70__gtk_editable_changed (GtkEditable* _sender,
  1022.                                     gpointer self)
  1023. {
  1024.     ___lambda70_ ((QueryRow*) self);
  1025. }
  1026.  
  1027.  
  1028. static void
  1029. ___lambda71_ (QueryRow* self)
  1030. {
  1031.     g_signal_emit (self, query_row_signals[QUERY_ROW_SEARCH_SIGNAL], 0);
  1032. }
  1033.  
  1034.  
  1035. static void
  1036. ____lambda71__gtk_entry_activate (GtkEntry* _sender,
  1037.                                   gpointer self)
  1038. {
  1039.     ___lambda71_ ((QueryRow*) self);
  1040. }
  1041.  
  1042.  
  1043. static void
  1044. ___lambda72_ (QueryRow* self,
  1045.               GtkEntryIconPosition pos,
  1046.               GdkEventButton* event)
  1047. {
  1048.     g_return_if_fail (event != NULL);
  1049.     if (pos == GTK_ENTRY_ICON_SECONDARY) {
  1050.         GtkEntry* _tmp0_;
  1051.         _tmp0_ = self->priv->mask_entry;
  1052.         gtk_entry_set_text (_tmp0_, "");
  1053.     }
  1054. }
  1055.  
  1056.  
  1057. static void
  1058. ____lambda72__gtk_entry_icon_press (GtkEntry* _sender,
  1059.                                     GtkEntryIconPosition icon_pos,
  1060.                                     GdkEventButton* event,
  1061.                                     gpointer self)
  1062. {
  1063.     ___lambda72_ ((QueryRow*) self, icon_pos, event);
  1064. }
  1065.  
  1066.  
  1067. static void
  1068. ___lambda73_ (QueryRow* self)
  1069. {
  1070.     FilterMask* _tmp0_;
  1071.     GtkCheckButton* _tmp1_;
  1072.     gboolean _tmp2_;
  1073.     gboolean _tmp3_;
  1074.     _tmp0_ = self->priv->mask;
  1075.     _tmp1_ = self->priv->mask_case;
  1076.     _tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
  1077.     _tmp3_ = _tmp2_;
  1078.     filter_mask_set_case_sensetive (_tmp0_, _tmp3_);
  1079. }
  1080.  
  1081.  
  1082. static void
  1083. ____lambda73__gtk_toggle_button_toggled (GtkToggleButton* _sender,
  1084.                                          gpointer self)
  1085. {
  1086.     ___lambda73_ ((QueryRow*) self);
  1087. }
  1088.  
  1089.  
  1090. static Block2Data*
  1091. block2_data_ref (Block2Data* _data2_)
  1092. {
  1093.     g_atomic_int_inc (&_data2_->_ref_count_);
  1094.     return _data2_;
  1095. }
  1096.  
  1097.  
  1098. static void
  1099. block2_data_unref (void * _userdata_)
  1100. {
  1101.     Block2Data* _data2_;
  1102.     _data2_ = (Block2Data*) _userdata_;
  1103.     if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
  1104.         QueryRow* self;
  1105.         self = _data2_->self;
  1106.         _g_object_unref0 (_data2_->w_combo);
  1107.         _g_object_unref0 (_data2_->size_entry);
  1108.         _g_object_unref0 (_data2_->size_combo);
  1109.         _g_object_unref0 (self);
  1110.         g_slice_free (Block2Data, _data2_);
  1111.     }
  1112. }
  1113.  
  1114.  
  1115. static void
  1116. ___lambda74_ (Block2Data* _data2_)
  1117. {
  1118.     QueryRow* self;
  1119.     FilterSize* _tmp0_;
  1120.     GtkComboBoxText* _tmp1_;
  1121.     gint _tmp2_;
  1122.     gint _tmp3_;
  1123.     self = _data2_->self;
  1124.     _tmp0_ = self->priv->size;
  1125.     _tmp1_ = _data2_->size_combo;
  1126.     _tmp2_ = gtk_combo_box_get_active ((GtkComboBox*) _tmp1_);
  1127.     _tmp3_ = _tmp2_;
  1128.     filter_size_set_operator (_tmp0_, (date_operator) _tmp3_);
  1129. }
  1130.  
  1131.  
  1132. static void
  1133. ____lambda74__gtk_combo_box_changed (GtkComboBox* _sender,
  1134.                                      gpointer self)
  1135. {
  1136.     ___lambda74_ (self);
  1137. }
  1138.  
  1139.  
  1140. static void
  1141. ___lambda75_ (Block2Data* _data2_,
  1142.               GtkEntryIconPosition pos,
  1143.               GdkEventButton* event)
  1144. {
  1145.     QueryRow* self;
  1146.     self = _data2_->self;
  1147.     g_return_if_fail (event != NULL);
  1148.     if (pos == GTK_ENTRY_ICON_SECONDARY) {
  1149.         GtkEntry* _tmp0_;
  1150.         _tmp0_ = _data2_->size_entry;
  1151.         gtk_entry_set_text (_tmp0_, "0");
  1152.     }
  1153. }
  1154.  
  1155.  
  1156. static void
  1157. ____lambda75__gtk_entry_icon_press (GtkEntry* _sender,
  1158.                                     GtkEntryIconPosition icon_pos,
  1159.                                     GdkEventButton* event,
  1160.                                     gpointer self)
  1161. {
  1162.     ___lambda75_ (self, icon_pos, event);
  1163. }
  1164.  
  1165.  
  1166. static guint64
  1167. uint64_parse (const gchar* str)
  1168. {
  1169.     guint64 result = 0ULL;
  1170.     guint64 _tmp0_;
  1171.     g_return_val_if_fail (str != NULL, 0ULL);
  1172.     _tmp0_ = g_ascii_strtoull (str, NULL, (guint) 0);
  1173.     result = _tmp0_;
  1174.     return result;
  1175. }
  1176.  
  1177.  
  1178. static void
  1179. ___lambda76_ (Block2Data* _data2_)
  1180. {
  1181.     QueryRow* self;
  1182.     FilterSize* _tmp0_;
  1183.     GtkEntry* _tmp1_;
  1184.     const gchar* _tmp2_;
  1185.     const gchar* _tmp3_;
  1186.     FilterSize* _tmp4_;
  1187.     guint* _tmp5_;
  1188.     gint _tmp5__length1;
  1189.     GtkComboBoxText* _tmp6_;
  1190.     gint _tmp7_;
  1191.     gint _tmp8_;
  1192.     guint _tmp9_;
  1193.     self = _data2_->self;
  1194.     _tmp0_ = self->priv->size;
  1195.     _tmp1_ = _data2_->size_entry;
  1196.     _tmp2_ = gtk_entry_get_text (_tmp1_);
  1197.     _tmp3_ = _tmp2_;
  1198.     _tmp4_ = self->priv->size;
  1199.     _tmp5_ = filter_size_WEIGHT;
  1200.     _tmp5__length1 = filter_size_WEIGHT_length1;
  1201.     _tmp6_ = _data2_->w_combo;
  1202.     _tmp7_ = gtk_combo_box_get_active ((GtkComboBox*) _tmp6_);
  1203.     _tmp8_ = _tmp7_;
  1204.     _tmp9_ = _tmp5_[_tmp8_];
  1205.     filter_size_set_size (_tmp0_, uint64_parse (_tmp3_) * _tmp9_);
  1206. }
  1207.  
  1208.  
  1209. static void
  1210. ____lambda76__gtk_combo_box_changed (GtkComboBox* _sender,
  1211.                                      gpointer self)
  1212. {
  1213.     ___lambda76_ (self);
  1214. }
  1215.  
  1216.  
  1217. static void
  1218. ___lambda77_ (Block2Data* _data2_)
  1219. {
  1220.     QueryRow* self;
  1221.     GtkEntry* _tmp0_;
  1222.     GtkEntry* _tmp1_;
  1223.     const gchar* _tmp2_;
  1224.     const gchar* _tmp3_;
  1225.     gchar* _tmp4_;
  1226.     gchar* _tmp5_;
  1227.     FilterSize* _tmp6_;
  1228.     GtkEntry* _tmp7_;
  1229.     const gchar* _tmp8_;
  1230.     const gchar* _tmp9_;
  1231.     FilterSize* _tmp10_;
  1232.     guint* _tmp11_;
  1233.     gint _tmp11__length1;
  1234.     GtkComboBoxText* _tmp12_;
  1235.     gint _tmp13_;
  1236.     gint _tmp14_;
  1237.     guint _tmp15_;
  1238.     GtkEntry* _tmp16_;
  1239.     GtkEntry* _tmp17_;
  1240.     const gchar* _tmp18_;
  1241.     const gchar* _tmp19_;
  1242.     self = _data2_->self;
  1243.     _tmp0_ = _data2_->size_entry;
  1244.     _tmp1_ = _data2_->size_entry;
  1245.     _tmp2_ = gtk_entry_get_text (_tmp1_);
  1246.     _tmp3_ = _tmp2_;
  1247.     _tmp4_ = query_row_check_dec (self, _tmp3_);
  1248.     _tmp5_ = _tmp4_;
  1249.     gtk_entry_set_text (_tmp0_, _tmp5_);
  1250.     _g_free0 (_tmp5_);
  1251.     _tmp6_ = self->priv->size;
  1252.     _tmp7_ = _data2_->size_entry;
  1253.     _tmp8_ = gtk_entry_get_text (_tmp7_);
  1254.     _tmp9_ = _tmp8_;
  1255.     _tmp10_ = self->priv->size;
  1256.     _tmp11_ = filter_size_WEIGHT;
  1257.     _tmp11__length1 = filter_size_WEIGHT_length1;
  1258.     _tmp12_ = _data2_->w_combo;
  1259.     _tmp13_ = gtk_combo_box_get_active ((GtkComboBox*) _tmp12_);
  1260.     _tmp14_ = _tmp13_;
  1261.     _tmp15_ = _tmp11_[_tmp14_];
  1262.     filter_size_set_size (_tmp6_, uint64_parse (_tmp9_) * _tmp15_);
  1263.     _tmp16_ = _data2_->size_entry;
  1264.     _tmp17_ = _data2_->size_entry;
  1265.     _tmp18_ = gtk_entry_get_text (_tmp17_);
  1266.     _tmp19_ = _tmp18_;
  1267.     gtk_widget_set_tooltip_text ((GtkWidget*) _tmp16_, _tmp19_);
  1268. }
  1269.  
  1270.  
  1271. static void
  1272. ____lambda77__gtk_editable_changed (GtkEditable* _sender,
  1273.                                     gpointer self)
  1274. {
  1275.     ___lambda77_ (self);
  1276. }
  1277.  
  1278.  
  1279. static void
  1280. ___lambda78_ (QueryRow* self)
  1281. {
  1282.     g_signal_emit (self, query_row_signals[QUERY_ROW_SEARCH_SIGNAL], 0);
  1283. }
  1284.  
  1285.  
  1286. static void
  1287. ____lambda78__gtk_entry_activate (GtkEntry* _sender,
  1288.                                   gpointer self)
  1289. {
  1290.     ___lambda78_ ((QueryRow*) self);
  1291. }
  1292.  
  1293.  
  1294. static Block3Data*
  1295. block3_data_ref (Block3Data* _data3_)
  1296. {
  1297.     g_atomic_int_inc (&_data3_->_ref_count_);
  1298.     return _data3_;
  1299. }
  1300.  
  1301.  
  1302. static void
  1303. block3_data_unref (void * _userdata_)
  1304. {
  1305.     Block3Data* _data3_;
  1306.     _data3_ = (Block3Data*) _userdata_;
  1307.     if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
  1308.         QueryRow* self;
  1309.         self = _data3_->self;
  1310.         _g_object_unref0 (_data3_->mod_combo);
  1311.         _g_object_unref0 (self);
  1312.         g_slice_free (Block3Data, _data3_);
  1313.     }
  1314. }
  1315.  
  1316.  
  1317. static void
  1318. ___lambda79_ (Block3Data* _data3_)
  1319. {
  1320.     QueryRow* self;
  1321.     FilterModified* _tmp0_;
  1322.     GtkComboBoxText* _tmp1_;
  1323.     gint _tmp2_;
  1324.     gint _tmp3_;
  1325.     self = _data3_->self;
  1326.     _tmp0_ = self->priv->modified;
  1327.     _tmp1_ = _data3_->mod_combo;
  1328.     _tmp2_ = gtk_combo_box_get_active ((GtkComboBox*) _tmp1_);
  1329.     _tmp3_ = _tmp2_;
  1330.     filter_modified_set_operator (_tmp0_, (date_operator) _tmp3_);
  1331. }
  1332.  
  1333.  
  1334. static void
  1335. ____lambda79__gtk_combo_box_changed (GtkComboBox* _sender,
  1336.                                      gpointer self)
  1337. {
  1338.     ___lambda79_ (self);
  1339. }
  1340.  
  1341.  
  1342. static Block4Data*
  1343. block4_data_ref (Block4Data* _data4_)
  1344. {
  1345.     g_atomic_int_inc (&_data4_->_ref_count_);
  1346.     return _data4_;
  1347. }
  1348.  
  1349.  
  1350. static void
  1351. block4_data_unref (void * _userdata_)
  1352. {
  1353.     Block4Data* _data4_;
  1354.     _data4_ = (Block4Data*) _userdata_;
  1355.     if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
  1356.         QueryRow* self;
  1357.         self = _data4_->self;
  1358.         _g_object_unref0 (_data4_->cal);
  1359.         _g_object_unref0 (self);
  1360.         g_slice_free (Block4Data, _data4_);
  1361.     }
  1362. }
  1363.  
  1364.  
  1365. static void
  1366. __lambda81_ (Block4Data* _data4_)
  1367. {
  1368.     QueryRow* self;
  1369.     FilterModified* _tmp0_;
  1370.     gint _tmp1_;
  1371.     gint _tmp2_;
  1372.     gint _tmp3_;
  1373.     gint _tmp4_;
  1374.     gint _tmp5_;
  1375.     gint _tmp6_;
  1376.     GDateTime* _tmp7_;
  1377.     GDateTime* _tmp8_;
  1378.     GtkButton* _tmp9_;
  1379.     gint _tmp10_;
  1380.     gint _tmp11_;
  1381.     gint _tmp12_;
  1382.     gint _tmp13_;
  1383.     gint _tmp14_;
  1384.     gint _tmp15_;
  1385.     gchar* _tmp16_;
  1386.     gchar* _tmp17_;
  1387.     self = _data4_->self;
  1388.     _tmp0_ = self->priv->modified;
  1389.     g_object_get (_data4_->cal, "year", &_tmp1_, NULL);
  1390.     _tmp2_ = _tmp1_;
  1391.     g_object_get (_data4_->cal, "month", &_tmp3_, NULL);
  1392.     _tmp4_ = _tmp3_;
  1393.     g_object_get (_data4_->cal, "day", &_tmp5_, NULL);
  1394.     _tmp6_ = _tmp5_;
  1395.     _tmp7_ = g_date_time_new_local (_tmp2_, _tmp4_ + 1, _tmp6_, 0, 0, (gdouble) 0);
  1396.     _tmp8_ = _tmp7_;
  1397.     filter_modified_set_date (_tmp0_, _tmp8_);
  1398.     _g_date_time_unref0 (_tmp8_);
  1399.     _tmp9_ = self->priv->mod_btn;
  1400.     g_object_get (_data4_->cal, "year", &_tmp10_, NULL);
  1401.     _tmp11_ = _tmp10_;
  1402.     g_object_get (_data4_->cal, "month", &_tmp12_, NULL);
  1403.     _tmp13_ = _tmp12_;
  1404.     g_object_get (_data4_->cal, "day", &_tmp14_, NULL);
  1405.     _tmp15_ = _tmp14_;
  1406.     _tmp16_ = g_strdup_printf ("%04d-%02d-%02d", _tmp11_, _tmp13_ + 1, _tmp15_);
  1407.     _tmp17_ = _tmp16_;
  1408.     gtk_button_set_label (_tmp9_, _tmp17_);
  1409.     _g_free0 (_tmp17_);
  1410. }
  1411.  
  1412.  
  1413. static void
  1414. ___lambda81__gtk_calendar_day_selected (GtkCalendar* _sender,
  1415.                                         gpointer self)
  1416. {
  1417.     __lambda81_ (self);
  1418. }
  1419.  
  1420.  
  1421. static void
  1422. ___lambda80_ (QueryRow* self)
  1423. {
  1424.     Block4Data* _data4_;
  1425.     GtkPopover* pop = NULL;
  1426.     GtkButton* _tmp0_;
  1427.     GtkPopover* _tmp1_;
  1428.     GtkCalendar* _tmp2_;
  1429.     FilterModified* _tmp3_;
  1430.     GDateTime* _tmp4_;
  1431.     GDateTime* _tmp5_;
  1432.     FilterModified* _tmp6_;
  1433.     GDateTime* _tmp7_;
  1434.     GDateTime* _tmp8_;
  1435.     FilterModified* _tmp9_;
  1436.     GDateTime* _tmp10_;
  1437.     GDateTime* _tmp11_;
  1438.     _data4_ = g_slice_new0 (Block4Data);
  1439.     _data4_->_ref_count_ = 1;
  1440.     _data4_->self = g_object_ref (self);
  1441.     _tmp0_ = self->priv->mod_btn;
  1442.     _tmp1_ = (GtkPopover*) gtk_popover_new ((GtkWidget*) _tmp0_);
  1443.     g_object_ref_sink (_tmp1_);
  1444.     pop = _tmp1_;
  1445.     _tmp2_ = (GtkCalendar*) gtk_calendar_new ();
  1446.     g_object_ref_sink (_tmp2_);
  1447.     _data4_->cal = _tmp2_;
  1448.     _tmp3_ = self->priv->modified;
  1449.     _tmp4_ = filter_modified_get_date (_tmp3_);
  1450.     _tmp5_ = _tmp4_;
  1451.     g_object_set (_data4_->cal, "year", g_date_time_get_year (_tmp5_), NULL);
  1452.     _tmp6_ = self->priv->modified;
  1453.     _tmp7_ = filter_modified_get_date (_tmp6_);
  1454.     _tmp8_ = _tmp7_;
  1455.     g_object_set (_data4_->cal, "month", g_date_time_get_month (_tmp8_) - 1, NULL);
  1456.     _tmp9_ = self->priv->modified;
  1457.     _tmp10_ = filter_modified_get_date (_tmp9_);
  1458.     _tmp11_ = _tmp10_;
  1459.     g_object_set (_data4_->cal, "day", g_date_time_get_day_of_month (_tmp11_), NULL);
  1460.     g_signal_connect_data (_data4_->cal, "day-selected", (GCallback) ___lambda81__gtk_calendar_day_selected, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
  1461.     gtk_container_add ((GtkContainer*) pop, (GtkWidget*) _data4_->cal);
  1462.     gtk_widget_show_all ((GtkWidget*) pop);
  1463.     _g_object_unref0 (pop);
  1464.     block4_data_unref (_data4_);
  1465.     _data4_ = NULL;
  1466. }
  1467.  
  1468.  
  1469. static void
  1470. ____lambda80__gtk_button_clicked (GtkButton* _sender,
  1471.                                   gpointer self)
  1472. {
  1473.     ___lambda80_ ((QueryRow*) self);
  1474. }
  1475.  
  1476.  
  1477. static Block5Data*
  1478. block5_data_ref (Block5Data* _data5_)
  1479. {
  1480.     g_atomic_int_inc (&_data5_->_ref_count_);
  1481.     return _data5_;
  1482. }
  1483.  
  1484.  
  1485. static void
  1486. block5_data_unref (void * _userdata_)
  1487. {
  1488.     Block5Data* _data5_;
  1489.     _data5_ = (Block5Data*) _userdata_;
  1490.     if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
  1491.         QueryRow* self;
  1492.         self = _data5_->self;
  1493.         _g_object_unref0 (_data5_->text_combo);
  1494.         _g_object_unref0 (self);
  1495.         g_slice_free (Block5Data, _data5_);
  1496.     }
  1497. }
  1498.  
  1499.  
  1500. static void
  1501. ___lambda82_ (QueryRow* self,
  1502.               GtkEntryIconPosition pos,
  1503.               GdkEventButton* event)
  1504. {
  1505.     g_return_if_fail (event != NULL);
  1506.     if (pos == GTK_ENTRY_ICON_SECONDARY) {
  1507.         GtkEntry* _tmp0_;
  1508.         _tmp0_ = self->priv->text_entry;
  1509.         gtk_entry_set_text (_tmp0_, "");
  1510.     }
  1511. }
  1512.  
  1513.  
  1514. static void
  1515. ____lambda82__gtk_entry_icon_press (GtkEntry* _sender,
  1516.                                     GtkEntryIconPosition icon_pos,
  1517.                                     GdkEventButton* event,
  1518.                                     gpointer self)
  1519. {
  1520.     ___lambda82_ ((QueryRow*) self, icon_pos, event);
  1521. }
  1522.  
  1523.  
  1524. static void
  1525. ___lambda83_ (QueryRow* self)
  1526. {
  1527.     FilterText* _tmp0_;
  1528.     GtkEntry* _tmp1_;
  1529.     const gchar* _tmp2_;
  1530.     const gchar* _tmp3_;
  1531.     GtkEntry* _tmp4_;
  1532.     GtkEntry* _tmp5_;
  1533.     const gchar* _tmp6_;
  1534.     const gchar* _tmp7_;
  1535.     _tmp0_ = self->priv->text;
  1536.     _tmp1_ = self->priv->text_entry;
  1537.     _tmp2_ = gtk_entry_get_text (_tmp1_);
  1538.     _tmp3_ = _tmp2_;
  1539.     filter_text_set_text (_tmp0_, _tmp3_);
  1540.     _tmp4_ = self->priv->text_entry;
  1541.     _tmp5_ = self->priv->text_entry;
  1542.     _tmp6_ = gtk_entry_get_text (_tmp5_);
  1543.     _tmp7_ = _tmp6_;
  1544.     gtk_widget_set_tooltip_text ((GtkWidget*) _tmp4_, _tmp7_);
  1545. }
  1546.  
  1547.  
  1548. static void
  1549. ____lambda83__gtk_editable_changed (GtkEditable* _sender,
  1550.                                     gpointer self)
  1551. {
  1552.     ___lambda83_ ((QueryRow*) self);
  1553. }
  1554.  
  1555.  
  1556. static void
  1557. ___lambda84_ (QueryRow* self)
  1558. {
  1559.     g_signal_emit (self, query_row_signals[QUERY_ROW_SEARCH_SIGNAL], 0);
  1560. }
  1561.  
  1562.  
  1563. static void
  1564. ____lambda84__gtk_entry_activate (GtkEntry* _sender,
  1565.                                   gpointer self)
  1566. {
  1567.     ___lambda84_ ((QueryRow*) self);
  1568. }
  1569.  
  1570.  
  1571. static gboolean
  1572. ___lambda85_ (QueryRow* self)
  1573. {
  1574.     gboolean result = FALSE;
  1575.     GtkPopover* _tmp0_;
  1576.     _tmp0_ = self->priv->tpop;
  1577.     gtk_widget_show_all ((GtkWidget*) _tmp0_);
  1578.     result = TRUE;
  1579.     return result;
  1580. }
  1581.  
  1582.  
  1583. static gboolean
  1584. ____lambda85__gtk_widget_button_press_event (GtkWidget* _sender,
  1585.                                              GdkEventButton* event,
  1586.                                              gpointer self)
  1587. {
  1588.     gboolean result;
  1589.     result = ___lambda85_ ((QueryRow*) self);
  1590.     return result;
  1591. }
  1592.  
  1593.  
  1594. static void
  1595. ___lambda86_ (Block5Data* _data5_)
  1596. {
  1597.     QueryRow* self;
  1598.     FilterText* _tmp0_;
  1599.     GtkComboBoxText* _tmp1_;
  1600.     gchar* _tmp2_;
  1601.     gchar* _tmp3_;
  1602.     GtkLabel* _tmp4_;
  1603.     GtkLabel* _tmp5_;
  1604.     FilterText* _tmp6_;
  1605.     const gchar* _tmp7_;
  1606.     const gchar* _tmp8_;
  1607.     self = _data5_->self;
  1608.     _tmp0_ = self->priv->text;
  1609.     _tmp1_ = _data5_->text_combo;
  1610.     _tmp2_ = gtk_combo_box_text_get_active_text (_tmp1_);
  1611.     _tmp3_ = _tmp2_;
  1612.     filter_text_set_encoding (_tmp0_, _tmp3_);
  1613.     _g_free0 (_tmp3_);
  1614.     _tmp4_ = self->priv->text_enc;
  1615.     _tmp5_ = self->priv->text_enc;
  1616.     _tmp6_ = self->priv->text;
  1617.     _tmp7_ = filter_text_get_encoding (_tmp6_);
  1618.     _tmp8_ = _tmp7_;
  1619.     gtk_label_set_label (_tmp5_, _tmp8_);
  1620.     gtk_widget_set_tooltip_text ((GtkWidget*) _tmp4_, _tmp8_);
  1621. }
  1622.  
  1623.  
  1624. static void
  1625. ____lambda86__gtk_combo_box_changed (GtkComboBox* _sender,
  1626.                                      gpointer self)
  1627. {
  1628.     ___lambda86_ (self);
  1629. }
  1630.  
  1631.  
  1632. static void
  1633. ___lambda87_ (QueryRow* self)
  1634. {
  1635.     FilterText* _tmp0_;
  1636.     GtkCheckButton* _tmp1_;
  1637.     gboolean _tmp2_;
  1638.     gboolean _tmp3_;
  1639.     _tmp0_ = self->priv->text;
  1640.     _tmp1_ = self->priv->text_case;
  1641.     _tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
  1642.     _tmp3_ = _tmp2_;
  1643.     filter_text_set_case_sensetive (_tmp0_, _tmp3_);
  1644. }
  1645.  
  1646.  
  1647. static void
  1648. ____lambda87__gtk_toggle_button_toggled (GtkToggleButton* _sender,
  1649.                                          gpointer self)
  1650. {
  1651.     ___lambda87_ ((QueryRow*) self);
  1652. }
  1653.  
  1654.  
  1655. static void
  1656. ___lambda88_ (QueryRow* self)
  1657. {
  1658.     GtkEntry* _tmp0_;
  1659.     GtkEntry* _tmp1_;
  1660.     const gchar* _tmp2_;
  1661.     const gchar* _tmp3_;
  1662.     gchar* _tmp4_;
  1663.     gchar* _tmp5_;
  1664.     FilterBin* _tmp6_;
  1665.     GtkEntry* _tmp7_;
  1666.     const gchar* _tmp8_;
  1667.     const gchar* _tmp9_;
  1668.     GtkEntry* _tmp10_;
  1669.     GtkEntry* _tmp11_;
  1670.     const gchar* _tmp12_;
  1671.     const gchar* _tmp13_;
  1672.     _tmp0_ = self->priv->bin_entry;
  1673.     _tmp1_ = self->priv->bin_entry;
  1674.     _tmp2_ = gtk_entry_get_text (_tmp1_);
  1675.     _tmp3_ = _tmp2_;
  1676.     _tmp4_ = query_row_check_hex (self, _tmp3_);
  1677.     _tmp5_ = _tmp4_;
  1678.     gtk_entry_set_text (_tmp0_, _tmp5_);
  1679.     _g_free0 (_tmp5_);
  1680.     _tmp6_ = self->priv->bin;
  1681.     _tmp7_ = self->priv->bin_entry;
  1682.     _tmp8_ = gtk_entry_get_text (_tmp7_);
  1683.     _tmp9_ = _tmp8_;
  1684.     filter_bin_set_bin (_tmp6_, _tmp9_);
  1685.     _tmp10_ = self->priv->bin_entry;
  1686.     _tmp11_ = self->priv->bin_entry;
  1687.     _tmp12_ = gtk_entry_get_text (_tmp11_);
  1688.     _tmp13_ = _tmp12_;
  1689.     gtk_widget_set_tooltip_text ((GtkWidget*) _tmp10_, _tmp13_);
  1690. }
  1691.  
  1692.  
  1693. static void
  1694. ____lambda88__gtk_editable_changed (GtkEditable* _sender,
  1695.                                     gpointer self)
  1696. {
  1697.     ___lambda88_ ((QueryRow*) self);
  1698. }
  1699.  
  1700.  
  1701. static gboolean
  1702. ___lambda89_ (QueryRow* self)
  1703. {
  1704.     gboolean result = FALSE;
  1705.     GtkEntry* _tmp0_;
  1706.     const gchar* _tmp1_;
  1707.     const gchar* _tmp2_;
  1708.     gint _tmp3_;
  1709.     gint _tmp4_;
  1710.     _tmp0_ = self->priv->bin_entry;
  1711.     _tmp1_ = gtk_entry_get_text (_tmp0_);
  1712.     _tmp2_ = _tmp1_;
  1713.     _tmp3_ = strlen (_tmp2_);
  1714.     _tmp4_ = _tmp3_;
  1715.     if ((_tmp4_ % 2) == 1) {
  1716.         GtkEntry* _tmp5_;
  1717.         GtkEntry* _tmp6_;
  1718.         const gchar* _tmp7_;
  1719.         const gchar* _tmp8_;
  1720.         gchar* _tmp9_;
  1721.         gchar* _tmp10_;
  1722.         _tmp5_ = self->priv->bin_entry;
  1723.         _tmp6_ = self->priv->bin_entry;
  1724.         _tmp7_ = gtk_entry_get_text (_tmp6_);
  1725.         _tmp8_ = _tmp7_;
  1726.         _tmp9_ = g_strconcat ("0", _tmp8_, NULL);
  1727.         _tmp10_ = _tmp9_;
  1728.         gtk_entry_set_text (_tmp5_, _tmp10_);
  1729.         _g_free0 (_tmp10_);
  1730.     }
  1731.     result = FALSE;
  1732.     return result;
  1733. }
  1734.  
  1735.  
  1736. static gboolean
  1737. ____lambda89__gtk_widget_focus_out_event (GtkWidget* _sender,
  1738.                                           GdkEventFocus* event,
  1739.                                           gpointer self)
  1740. {
  1741.     gboolean result;
  1742.     result = ___lambda89_ ((QueryRow*) self);
  1743.     return result;
  1744. }
  1745.  
  1746.  
  1747. static void
  1748. ___lambda90_ (QueryRow* self)
  1749. {
  1750.     g_signal_emit (self, query_row_signals[QUERY_ROW_SEARCH_SIGNAL], 0);
  1751. }
  1752.  
  1753.  
  1754. static void
  1755. ____lambda90__gtk_entry_activate (GtkEntry* _sender,
  1756.                                   gpointer self)
  1757. {
  1758.     ___lambda90_ ((QueryRow*) self);
  1759. }
  1760.  
  1761.  
  1762. static void
  1763. ___lambda91_ (QueryRow* self,
  1764.               GtkEntryIconPosition pos,
  1765.               GdkEventButton* event)
  1766. {
  1767.     g_return_if_fail (event != NULL);
  1768.     if (pos == GTK_ENTRY_ICON_SECONDARY) {
  1769.         GtkEntry* _tmp0_;
  1770.         _tmp0_ = self->priv->bin_entry;
  1771.         gtk_entry_set_text (_tmp0_, "");
  1772.     }
  1773. }
  1774.  
  1775.  
  1776. static void
  1777. ____lambda91__gtk_entry_icon_press (GtkEntry* _sender,
  1778.                                     GtkEntryIconPosition icon_pos,
  1779.                                     GdkEventButton* event,
  1780.                                     gpointer self)
  1781. {
  1782.     ___lambda91_ ((QueryRow*) self, icon_pos, event);
  1783. }
  1784.  
  1785.  
  1786. static void
  1787. query_row_create_type_widgets (QueryRow* self)
  1788. {
  1789.     gint i = 0;
  1790.     gchar* clipboard_text = NULL;
  1791.     gchar* _tmp0_;
  1792.     GdkDisplay* display = NULL;
  1793.     FileFinderWindow* _tmp1_;
  1794.     GdkDisplay* _tmp2_;
  1795.     GdkDisplay* _tmp3_;
  1796.     GtkClipboard* clipboard = NULL;
  1797.     GdkDisplay* _tmp4_;
  1798.     GtkClipboard* _tmp5_;
  1799.     GtkClipboard* _tmp6_;
  1800.     GtkBox* _tmp7_;
  1801.     GtkBox* _tmp9_;
  1802.     GtkBox* _tmp10_;
  1803.     GtkComboBoxText* _tmp11_;
  1804.     gint _tmp12_;
  1805.     gint _tmp13_;
  1806.     GtkBox* _tmp223_;
  1807.     g_return_if_fail (self != NULL);
  1808.     i = 0;
  1809.     _tmp0_ = g_strdup ("");
  1810.     clipboard_text = _tmp0_;
  1811.     _tmp1_ = filefinder_window;
  1812.     _tmp2_ = gtk_widget_get_display ((GtkWidget*) _tmp1_);
  1813.     _tmp3_ = _g_object_ref0 (_tmp2_);
  1814.     display = _tmp3_;
  1815.     _tmp4_ = display;
  1816.     _tmp5_ = gtk_clipboard_get_for_display (_tmp4_, GDK_SELECTION_CLIPBOARD);
  1817.     _tmp6_ = _g_object_ref0 (_tmp5_);
  1818.     clipboard = _tmp6_;
  1819.     _tmp7_ = self->priv->hbox;
  1820.     if (_tmp7_ != NULL) {
  1821.         GtkBox* _tmp8_;
  1822.         _tmp8_ = self->priv->hbox;
  1823.         gtk_widget_destroy ((GtkWidget*) _tmp8_);
  1824.     }
  1825.     _tmp9_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
  1826.     g_object_ref_sink (_tmp9_);
  1827.     _g_object_unref0 (self->priv->hbox);
  1828.     self->priv->hbox = _tmp9_;
  1829.     _tmp10_ = self->priv->hbox;
  1830.     gtk_box_pack_start ((GtkBox*) self, (GtkWidget*) _tmp10_, TRUE, TRUE, (guint) 0);
  1831.     _tmp11_ = self->priv->combo_type;
  1832.     _tmp12_ = gtk_combo_box_get_active ((GtkComboBox*) _tmp11_);
  1833.     _tmp13_ = _tmp12_;
  1834.     switch (_tmp13_) {
  1835.         case TYPES_LOCATION:
  1836.         {
  1837.             FilterLocation* _tmp14_;
  1838.             Filter* _tmp15_;
  1839.             FilterLocation* _tmp16_;
  1840.             FilterLocation* _tmp17_;
  1841.             const gchar* _tmp18_;
  1842.             GtkFileChooserButton* _tmp19_;
  1843.             GtkFileChooserButton* _tmp20_;
  1844.             FilterLocation* _tmp21_;
  1845.             const gchar* _tmp22_;
  1846.             const gchar* _tmp23_;
  1847.             GtkBox* _tmp24_;
  1848.             GtkFileChooserButton* _tmp25_;
  1849.             GtkFileChooserButton* _tmp26_;
  1850.             GtkCheckButton* _tmp27_;
  1851.             GtkCheckButton* _tmp28_;
  1852.             GtkCheckButton* _tmp29_;
  1853.             GtkBox* _tmp30_;
  1854.             GtkCheckButton* _tmp31_;
  1855.             GtkCheckButton* _tmp32_;
  1856.             _tmp14_ = filter_location_new ();
  1857.             _g_object_unref0 (self->location);
  1858.             self->location = _tmp14_;
  1859.             _tmp15_ = self->priv->_filter;
  1860.             _tmp16_ = self->location;
  1861.             filter_set_filter_value (_tmp15_, (GObject*) _tmp16_);
  1862.             _tmp17_ = self->location;
  1863.             _tmp18_ = g_get_home_dir ();
  1864.             filter_location_set_folder (_tmp17_, _tmp18_);
  1865.             _tmp19_ = (GtkFileChooserButton*) gtk_file_chooser_button_new ("Select folder", GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
  1866.             g_object_ref_sink (_tmp19_);
  1867.             _g_object_unref0 (self->chooser);
  1868.             self->chooser = _tmp19_;
  1869.             _tmp20_ = self->chooser;
  1870.             _tmp21_ = self->location;
  1871.             _tmp22_ = filter_location_get_folder (_tmp21_);
  1872.             _tmp23_ = _tmp22_;
  1873.             gtk_file_chooser_set_current_folder ((GtkFileChooser*) _tmp20_, _tmp23_);
  1874.             _tmp24_ = self->priv->hbox;
  1875.             _tmp25_ = self->chooser;
  1876.             gtk_box_pack_start (_tmp24_, (GtkWidget*) _tmp25_, TRUE, TRUE, (guint) 0);
  1877.             _tmp26_ = self->chooser;
  1878.             g_signal_connect_object (_tmp26_, "file-set", (GCallback) ____lambda67__gtk_file_chooser_button_file_set, self, 0);
  1879.             _tmp27_ = (GtkCheckButton*) gtk_check_button_new ();
  1880.             g_object_ref_sink (_tmp27_);
  1881.             _g_object_unref0 (self->priv->chk_rec);
  1882.             self->priv->chk_rec = _tmp27_;
  1883.             _tmp28_ = self->priv->chk_rec;
  1884.             gtk_widget_set_tooltip_text ((GtkWidget*) _tmp28_, "Recursively");
  1885.             _tmp29_ = self->priv->chk_rec;
  1886.             gtk_toggle_button_set_active ((GtkToggleButton*) _tmp29_, TRUE);
  1887.             _tmp30_ = self->priv->hbox;
  1888.             _tmp31_ = self->priv->chk_rec;
  1889.             gtk_container_add ((GtkContainer*) _tmp30_, (GtkWidget*) _tmp31_);
  1890.             _tmp32_ = self->priv->chk_rec;
  1891.             g_signal_connect_object ((GtkToggleButton*) _tmp32_, "toggled", (GCallback) ____lambda68__gtk_toggle_button_toggled, self, 0);
  1892.             break;
  1893.         }
  1894.         case TYPES_FILES:
  1895.         {
  1896.             FilterFiles* _tmp33_;
  1897.             Filter* _tmp34_;
  1898.             FilterFiles* _tmp35_;
  1899.             GtkButton* _tmp36_;
  1900.             GtkButton* _tmp37_;
  1901.             GtkButton* _tmp38_;
  1902.             GtkButton* _tmp39_;
  1903.             const gchar* _tmp40_;
  1904.             const gchar* _tmp41_;
  1905.             GtkButton* _tmp42_;
  1906.             GtkButton* _tmp43_;
  1907.             GtkBox* _tmp44_;
  1908.             GtkButton* _tmp45_;
  1909.             GtkButton* _tmp46_;
  1910.             _tmp33_ = filter_files_new ();
  1911.             _g_object_unref0 (self->files);
  1912.             self->files = _tmp33_;
  1913.             _tmp34_ = self->priv->_filter;
  1914.             _tmp35_ = self->files;
  1915.             filter_set_filter_value (_tmp34_, (GObject*) _tmp35_);
  1916.             _tmp36_ = (GtkButton*) gtk_button_new_from_icon_name ("document-open-symbolic", (GtkIconSize) GTK_ICON_SIZE_BUTTON);
  1917.             g_object_ref_sink (_tmp36_);
  1918.             _g_object_unref0 (self->files_btn);
  1919.             self->files_btn = _tmp36_;
  1920.             _tmp37_ = self->files_btn;
  1921.             gtk_button_set_label (_tmp37_, " None selected");
  1922.             _tmp38_ = self->files_btn;
  1923.             _tmp39_ = self->files_btn;
  1924.             _tmp40_ = gtk_button_get_label (_tmp39_);
  1925.             _tmp41_ = _tmp40_;
  1926.             gtk_widget_set_tooltip_text ((GtkWidget*) _tmp38_, _tmp41_);
  1927.             _tmp42_ = self->files_btn;
  1928.             gtk_button_set_always_show_image (_tmp42_, TRUE);
  1929.             _tmp43_ = self->files_btn;
  1930.             g_object_set (_tmp43_, "xalign", (gfloat) 0, NULL);
  1931.             _tmp44_ = self->priv->hbox;
  1932.             _tmp45_ = self->files_btn;
  1933.             gtk_box_pack_start (_tmp44_, (GtkWidget*) _tmp45_, TRUE, TRUE, (guint) 0);
  1934.             _tmp46_ = self->files_btn;
  1935.             g_signal_connect_object (_tmp46_, "clicked", (GCallback) ____lambda69__gtk_button_clicked, self, 0);
  1936.             break;
  1937.         }
  1938.         case TYPES_MIMETYPE:
  1939.         {
  1940.             FilterMime* _tmp47_;
  1941.             Filter* _tmp48_;
  1942.             FilterMime* _tmp49_;
  1943.             FilterMime* _tmp50_;
  1944.             Preferences* _tmp51_;
  1945.             MimeGroup* _tmp52_;
  1946.             gint _tmp52__length1;
  1947.             MimeGroup* _tmp53_;
  1948.             gint _tmp53__length1;
  1949.             MimeGroup _tmp54_;
  1950.             const gchar* _tmp55_;
  1951.             Preferences* _tmp56_;
  1952.             MimeGroup* _tmp57_;
  1953.             gint _tmp57__length1;
  1954.             MimeGroup* _tmp58_;
  1955.             gint _tmp58__length1;
  1956.             MimeGroup _tmp59_;
  1957.             gchar** _tmp60_;
  1958.             gint _tmp60__length1;
  1959.             FilterMime* _tmp64_;
  1960.             MimeButton* _tmp65_;
  1961.             GtkBox* _tmp66_;
  1962.             MimeButton* _tmp67_;
  1963.             _tmp47_ = filter_mime_new ();
  1964.             _g_object_unref0 (self->priv->mime);
  1965.             self->priv->mime = _tmp47_;
  1966.             _tmp48_ = self->priv->_filter;
  1967.             _tmp49_ = self->priv->mime;
  1968.             filter_set_filter_value (_tmp48_, (GObject*) _tmp49_);
  1969.             _tmp50_ = self->priv->mime;
  1970.             _tmp51_ = filefinder_preferences;
  1971.             _tmp52_ = preferences_get_mime_type_groups (_tmp51_, &_tmp52__length1);
  1972.             _tmp53_ = _tmp52_;
  1973.             _tmp53__length1 = _tmp52__length1;
  1974.             _tmp54_ = _tmp53_[0];
  1975.             _tmp55_ = _tmp54_.name;
  1976.             filter_mime_set_name (_tmp50_, _tmp55_);
  1977.             _tmp56_ = filefinder_preferences;
  1978.             _tmp57_ = preferences_get_mime_type_groups (_tmp56_, &_tmp57__length1);
  1979.             _tmp58_ = _tmp57_;
  1980.             _tmp58__length1 = _tmp57__length1;
  1981.             _tmp59_ = _tmp58_[0];
  1982.             _tmp60_ = _tmp59_.mimes;
  1983.             _tmp60__length1 = _tmp59_.mimes_length1;
  1984.             {
  1985.                 gchar** s_collection = NULL;
  1986.                 gint s_collection_length1 = 0;
  1987.                 gint _s_collection_size_ = 0;
  1988.                 gint s_it = 0;
  1989.                 s_collection = _tmp60_;
  1990.                 s_collection_length1 = _tmp60__length1;
  1991.                 for (s_it = 0; s_it < _tmp60__length1; s_it = s_it + 1) {
  1992.                     gchar* _tmp61_;
  1993.                     gchar* s = NULL;
  1994.                     _tmp61_ = g_strdup (s_collection[s_it]);
  1995.                     s = _tmp61_;
  1996.                     {
  1997.                         FilterMime* _tmp62_;
  1998.                         const gchar* _tmp63_;
  1999.                         _tmp62_ = self->priv->mime;
  2000.                         _tmp63_ = s;
  2001.                         filter_mime_add (_tmp62_, _tmp63_);
  2002.                         _g_free0 (s);
  2003.                     }
  2004.                 }
  2005.             }
  2006.             _tmp64_ = self->priv->mime;
  2007.             _tmp65_ = mime_button_new (_tmp64_);
  2008.             g_object_ref_sink (_tmp65_);
  2009.             _g_object_unref0 (self->priv->mime_menu);
  2010.             self->priv->mime_menu = _tmp65_;
  2011.             _tmp66_ = self->priv->hbox;
  2012.             _tmp67_ = self->priv->mime_menu;
  2013.             gtk_box_pack_start (_tmp66_, (GtkWidget*) _tmp67_, TRUE, TRUE, (guint) 0);
  2014.             break;
  2015.         }
  2016.         case TYPES_FILEMASK:
  2017.         {
  2018.             FilterMask* _tmp68_;
  2019.             Filter* _tmp69_;
  2020.             FilterMask* _tmp70_;
  2021.             GtkEntry* _tmp71_;
  2022.             GtkBox* _tmp72_;
  2023.             GtkEntry* _tmp73_;
  2024.             GtkEntry* _tmp74_;
  2025.             GtkEntry* _tmp75_;
  2026.             GtkEntry* _tmp76_;
  2027.             GtkEntry* _tmp77_;
  2028.             GtkCheckButton* _tmp78_;
  2029.             GtkCheckButton* _tmp79_;
  2030.             GtkBox* _tmp80_;
  2031.             GtkCheckButton* _tmp81_;
  2032.             GtkCheckButton* _tmp82_;
  2033.             _tmp68_ = filter_mask_new ();
  2034.             _g_object_unref0 (self->priv->mask);
  2035.             self->priv->mask = _tmp68_;
  2036.             _tmp69_ = self->priv->_filter;
  2037.             _tmp70_ = self->priv->mask;
  2038.             filter_set_filter_value (_tmp69_, (GObject*) _tmp70_);
  2039.             _tmp71_ = (GtkEntry*) gtk_entry_new ();
  2040.             g_object_ref_sink (_tmp71_);
  2041.             _g_object_unref0 (self->priv->mask_entry);
  2042.             self->priv->mask_entry = _tmp71_;
  2043.             _tmp72_ = self->priv->hbox;
  2044.             _tmp73_ = self->priv->mask_entry;
  2045.             gtk_box_pack_start (_tmp72_, (GtkWidget*) _tmp73_, TRUE, TRUE, (guint) 0);
  2046.             _tmp74_ = self->priv->mask_entry;
  2047.             g_signal_connect_object ((GtkEditable*) _tmp74_, "changed", (GCallback) ____lambda70__gtk_editable_changed, self, 0);
  2048.             _tmp75_ = self->priv->mask_entry;
  2049.             g_signal_connect_object (_tmp75_, "activate", (GCallback) ____lambda71__gtk_entry_activate, self, 0);
  2050.             _tmp76_ = self->priv->mask_entry;
  2051.             gtk_entry_set_icon_from_icon_name (_tmp76_, GTK_ENTRY_ICON_SECONDARY, "edit-clear-symbolic");
  2052.             _tmp77_ = self->priv->mask_entry;
  2053.             g_signal_connect_object (_tmp77_, "icon-press", (GCallback) ____lambda72__gtk_entry_icon_press, self, 0);
  2054.             _tmp78_ = (GtkCheckButton*) gtk_check_button_new ();
  2055.             g_object_ref_sink (_tmp78_);
  2056.             _g_object_unref0 (self->priv->mask_case);
  2057.             self->priv->mask_case = _tmp78_;
  2058.             _tmp79_ = self->priv->mask_case;
  2059.             gtk_widget_set_tooltip_text ((GtkWidget*) _tmp79_, "Case sensitive");
  2060.             _tmp80_ = self->priv->hbox;
  2061.             _tmp81_ = self->priv->mask_case;
  2062.             gtk_container_add ((GtkContainer*) _tmp80_, (GtkWidget*) _tmp81_);
  2063.             _tmp82_ = self->priv->mask_case;
  2064.             g_signal_connect_object ((GtkToggleButton*) _tmp82_, "toggled", (GCallback) ____lambda73__gtk_toggle_button_toggled, self, 0);
  2065.             break;
  2066.         }
  2067.         case TYPES_SIZE:
  2068.         {
  2069.             Block2Data* _data2_;
  2070.             FilterSize* _tmp83_;
  2071.             Filter* _tmp84_;
  2072.             FilterSize* _tmp85_;
  2073.             GtkComboBoxText* _tmp86_;
  2074.             GtkComboBoxText* _tmp90_;
  2075.             FilterSize* _tmp91_;
  2076.             date_operator _tmp92_;
  2077.             date_operator _tmp93_;
  2078.             GtkComboBoxText* _tmp94_;
  2079.             GtkBox* _tmp95_;
  2080.             GtkComboBoxText* _tmp96_;
  2081.             GtkEntry* _tmp97_;
  2082.             GtkEntry* _tmp98_;
  2083.             GtkEntry* _tmp99_;
  2084.             GtkEntry* _tmp100_;
  2085.             GtkBox* _tmp101_;
  2086.             GtkEntry* _tmp102_;
  2087.             GtkEntry* _tmp103_;
  2088.             GtkEntry* _tmp104_;
  2089.             GtkComboBoxText* _tmp105_;
  2090.             gchar* _tmp106_;
  2091.             gchar* _tmp107_;
  2092.             gchar* _tmp108_;
  2093.             gchar* _tmp109_;
  2094.             gchar** _tmp110_;
  2095.             GtkComboBoxText* _tmp114_;
  2096.             GtkBox* _tmp115_;
  2097.             GtkComboBoxText* _tmp116_;
  2098.             GtkComboBoxText* _tmp117_;
  2099.             GtkEntry* _tmp118_;
  2100.             GtkEntry* _tmp119_;
  2101.             _data2_ = g_slice_new0 (Block2Data);
  2102.             _data2_->_ref_count_ = 1;
  2103.             _data2_->self = g_object_ref (self);
  2104.             _tmp83_ = filter_size_new ();
  2105.             _g_object_unref0 (self->priv->size);
  2106.             self->priv->size = _tmp83_;
  2107.             _tmp84_ = self->priv->_filter;
  2108.             _tmp85_ = self->priv->size;
  2109.             filter_set_filter_value (_tmp84_, (GObject*) _tmp85_);
  2110.             _tmp86_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
  2111.             g_object_ref_sink (_tmp86_);
  2112.             _data2_->size_combo = _tmp86_;
  2113.             {
  2114.                 const gchar** s_collection = NULL;
  2115.                 gint s_collection_length1 = 0;
  2116.                 gint _s_collection_size_ = 0;
  2117.                 gint s_it = 0;
  2118.                 s_collection = date_operators;
  2119.                 s_collection_length1 = G_N_ELEMENTS (date_operators);
  2120.                 for (s_it = 0; s_it < G_N_ELEMENTS (date_operators); s_it = s_it + 1) {
  2121.                     gchar* _tmp87_;
  2122.                     gchar* s = NULL;
  2123.                     _tmp87_ = g_strdup (s_collection[s_it]);
  2124.                     s = _tmp87_;
  2125.                     {
  2126.                         GtkComboBoxText* _tmp88_;
  2127.                         const gchar* _tmp89_;
  2128.                         _tmp88_ = _data2_->size_combo;
  2129.                         _tmp89_ = s;
  2130.                         gtk_combo_box_text_append_text (_tmp88_, _tmp89_);
  2131.                         _g_free0 (s);
  2132.                     }
  2133.                 }
  2134.             }
  2135.             _tmp90_ = _data2_->size_combo;
  2136.             _tmp91_ = self->priv->size;
  2137.             _tmp92_ = filter_size_get_operator (_tmp91_);
  2138.             _tmp93_ = _tmp92_;
  2139.             gtk_combo_box_set_active ((GtkComboBox*) _tmp90_, (gint) _tmp93_);
  2140.             _tmp94_ = _data2_->size_combo;
  2141.             g_signal_connect_data ((GtkComboBox*) _tmp94_, "changed", (GCallback) ____lambda74__gtk_combo_box_changed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
  2142.             _tmp95_ = self->priv->hbox;
  2143.             _tmp96_ = _data2_->size_combo;
  2144.             gtk_box_pack_start (_tmp95_, (GtkWidget*) _tmp96_, FALSE, FALSE, (guint) 0);
  2145.             _tmp97_ = (GtkEntry*) gtk_entry_new ();
  2146.             g_object_ref_sink (_tmp97_);
  2147.             _data2_->size_entry = _tmp97_;
  2148.             _tmp98_ = _data2_->size_entry;
  2149.             gtk_entry_set_text (_tmp98_, "0");
  2150.             _tmp99_ = _data2_->size_entry;
  2151.             gtk_entry_set_width_chars (_tmp99_, 1);
  2152.             _tmp100_ = _data2_->size_entry;
  2153.             gtk_entry_set_max_width_chars (_tmp100_, 2);
  2154.             _tmp101_ = self->priv->hbox;
  2155.             _tmp102_ = _data2_->size_entry;
  2156.             gtk_box_pack_start (_tmp101_, (GtkWidget*) _tmp102_, TRUE, TRUE, (guint) 0);
  2157.             _tmp103_ = _data2_->size_entry;
  2158.             gtk_entry_set_icon_from_icon_name (_tmp103_, GTK_ENTRY_ICON_SECONDARY, "edit-clear-symbolic");
  2159.             _tmp104_ = _data2_->size_entry;
  2160.             g_signal_connect_data (_tmp104_, "icon-press", (GCallback) ____lambda75__gtk_entry_icon_press, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
  2161.             _tmp105_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
  2162.             g_object_ref_sink (_tmp105_);
  2163.             _data2_->w_combo = _tmp105_;
  2164.             _tmp106_ = g_strdup ("B");
  2165.             _tmp107_ = g_strdup ("KiB");
  2166.             _tmp108_ = g_strdup ("MiB");
  2167.             _tmp109_ = g_strdup ("GiB");
  2168.             _tmp110_ = g_new0 (gchar*, 4 + 1);
  2169.             _tmp110_[0] = _tmp106_;
  2170.             _tmp110_[1] = _tmp107_;
  2171.             _tmp110_[2] = _tmp108_;
  2172.             _tmp110_[3] = _tmp109_;
  2173.             {
  2174.                 gchar** s_collection = NULL;
  2175.                 gint s_collection_length1 = 0;
  2176.                 gint _s_collection_size_ = 0;
  2177.                 gint s_it = 0;
  2178.                 s_collection = _tmp110_;
  2179.                 s_collection_length1 = 4;
  2180.                 for (s_it = 0; s_it < 4; s_it = s_it + 1) {
  2181.                     gchar* _tmp111_;
  2182.                     gchar* s = NULL;
  2183.                     _tmp111_ = g_strdup (s_collection[s_it]);
  2184.                     s = _tmp111_;
  2185.                     {
  2186.                         GtkComboBoxText* _tmp112_;
  2187.                         const gchar* _tmp113_;
  2188.                         _tmp112_ = _data2_->w_combo;
  2189.                         _tmp113_ = s;
  2190.                         gtk_combo_box_text_append_text (_tmp112_, _tmp113_);
  2191.                         _g_free0 (s);
  2192.                     }
  2193.                 }
  2194.                 s_collection = (_vala_array_free (s_collection, s_collection_length1, (GDestroyNotify) g_free), NULL);
  2195.             }
  2196.             _tmp114_ = _data2_->w_combo;
  2197.             gtk_combo_box_set_active ((GtkComboBox*) _tmp114_, 2);
  2198.             _tmp115_ = self->priv->hbox;
  2199.             _tmp116_ = _data2_->w_combo;
  2200.             gtk_box_pack_start (_tmp115_, (GtkWidget*) _tmp116_, FALSE, FALSE, (guint) 0);
  2201.             _tmp117_ = _data2_->w_combo;
  2202.             g_signal_connect_data ((GtkComboBox*) _tmp117_, "changed", (GCallback) ____lambda76__gtk_combo_box_changed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
  2203.             _tmp118_ = _data2_->size_entry;
  2204.             g_signal_connect_data ((GtkEditable*) _tmp118_, "changed", (GCallback) ____lambda77__gtk_editable_changed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
  2205.             _tmp119_ = _data2_->size_entry;
  2206.             g_signal_connect_object (_tmp119_, "activate", (GCallback) ____lambda78__gtk_entry_activate, self, 0);
  2207.             block2_data_unref (_data2_);
  2208.             _data2_ = NULL;
  2209.             break;
  2210.         }
  2211.         case TYPES_MODIFIED:
  2212.         {
  2213.             Block3Data* _data3_;
  2214.             FilterModified* _tmp120_;
  2215.             Filter* _tmp121_;
  2216.             FilterModified* _tmp122_;
  2217.             GtkComboBoxText* _tmp123_;
  2218.             GtkComboBoxText* _tmp127_;
  2219.             FilterModified* _tmp128_;
  2220.             date_operator _tmp129_;
  2221.             date_operator _tmp130_;
  2222.             GtkComboBoxText* _tmp131_;
  2223.             GtkBox* _tmp132_;
  2224.             GtkComboBoxText* _tmp133_;
  2225.             GtkButton* _tmp134_;
  2226.             GtkButton* _tmp135_;
  2227.             GtkButton* _tmp136_;
  2228.             FilterModified* _tmp137_;
  2229.             GDateTime* _tmp138_;
  2230.             GDateTime* _tmp139_;
  2231.             FilterModified* _tmp140_;
  2232.             GDateTime* _tmp141_;
  2233.             GDateTime* _tmp142_;
  2234.             FilterModified* _tmp143_;
  2235.             GDateTime* _tmp144_;
  2236.             GDateTime* _tmp145_;
  2237.             gchar* _tmp146_;
  2238.             gchar* _tmp147_;
  2239.             GtkBox* _tmp148_;
  2240.             GtkButton* _tmp149_;
  2241.             GtkButton* _tmp150_;
  2242.             _data3_ = g_slice_new0 (Block3Data);
  2243.             _data3_->_ref_count_ = 1;
  2244.             _data3_->self = g_object_ref (self);
  2245.             _tmp120_ = filter_modified_new ();
  2246.             _g_object_unref0 (self->priv->modified);
  2247.             self->priv->modified = _tmp120_;
  2248.             _tmp121_ = self->priv->_filter;
  2249.             _tmp122_ = self->priv->modified;
  2250.             filter_set_filter_value (_tmp121_, (GObject*) _tmp122_);
  2251.             _tmp123_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
  2252.             g_object_ref_sink (_tmp123_);
  2253.             _data3_->mod_combo = _tmp123_;
  2254.             {
  2255.                 const gchar** s_collection = NULL;
  2256.                 gint s_collection_length1 = 0;
  2257.                 gint _s_collection_size_ = 0;
  2258.                 gint s_it = 0;
  2259.                 s_collection = date_operators;
  2260.                 s_collection_length1 = G_N_ELEMENTS (date_operators);
  2261.                 for (s_it = 0; s_it < G_N_ELEMENTS (date_operators); s_it = s_it + 1) {
  2262.                     gchar* _tmp124_;
  2263.                     gchar* s = NULL;
  2264.                     _tmp124_ = g_strdup (s_collection[s_it]);
  2265.                     s = _tmp124_;
  2266.                     {
  2267.                         GtkComboBoxText* _tmp125_;
  2268.                         const gchar* _tmp126_;
  2269.                         _tmp125_ = _data3_->mod_combo;
  2270.                         _tmp126_ = s;
  2271.                         gtk_combo_box_text_append_text (_tmp125_, _tmp126_);
  2272.                         _g_free0 (s);
  2273.                     }
  2274.                 }
  2275.             }
  2276.             _tmp127_ = _data3_->mod_combo;
  2277.             _tmp128_ = self->priv->modified;
  2278.             _tmp129_ = filter_modified_get_operator (_tmp128_);
  2279.             _tmp130_ = _tmp129_;
  2280.             gtk_combo_box_set_active ((GtkComboBox*) _tmp127_, (gint) _tmp130_);
  2281.             _tmp131_ = _data3_->mod_combo;
  2282.             g_signal_connect_data ((GtkComboBox*) _tmp131_, "changed", (GCallback) ____lambda79__gtk_combo_box_changed, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
  2283.             _tmp132_ = self->priv->hbox;
  2284.             _tmp133_ = _data3_->mod_combo;
  2285.             gtk_box_pack_start (_tmp132_, (GtkWidget*) _tmp133_, FALSE, FALSE, (guint) 0);
  2286.             _tmp134_ = (GtkButton*) gtk_button_new ();
  2287.             g_object_ref_sink (_tmp134_);
  2288.             _g_object_unref0 (self->priv->mod_btn);
  2289.             self->priv->mod_btn = _tmp134_;
  2290.             _tmp135_ = self->priv->mod_btn;
  2291.             g_object_set (_tmp135_, "xalign", (gfloat) 0, NULL);
  2292.             _tmp136_ = self->priv->mod_btn;
  2293.             _tmp137_ = self->priv->modified;
  2294.             _tmp138_ = filter_modified_get_date (_tmp137_);
  2295.             _tmp139_ = _tmp138_;
  2296.             _tmp140_ = self->priv->modified;
  2297.             _tmp141_ = filter_modified_get_date (_tmp140_);
  2298.             _tmp142_ = _tmp141_;
  2299.             _tmp143_ = self->priv->modified;
  2300.             _tmp144_ = filter_modified_get_date (_tmp143_);
  2301.             _tmp145_ = _tmp144_;
  2302.             _tmp146_ = g_strdup_printf ("%04d-%02d-%02d", g_date_time_get_year (_tmp139_), g_date_time_get_month (_tmp142_), g_date_time_get_day_of_month (_tmp145_));
  2303.             _tmp147_ = _tmp146_;
  2304.             gtk_button_set_label (_tmp136_, _tmp147_);
  2305.             _g_free0 (_tmp147_);
  2306.             _tmp148_ = self->priv->hbox;
  2307.             _tmp149_ = self->priv->mod_btn;
  2308.             gtk_box_pack_start (_tmp148_, (GtkWidget*) _tmp149_, TRUE, TRUE, (guint) 6);
  2309.             _tmp150_ = self->priv->mod_btn;
  2310.             g_signal_connect_object (_tmp150_, "clicked", (GCallback) ____lambda80__gtk_button_clicked, self, 0);
  2311.             block3_data_unref (_data3_);
  2312.             _data3_ = NULL;
  2313.             break;
  2314.         }
  2315.         case TYPES_TEXT:
  2316.         {
  2317.             Block5Data* _data5_;
  2318.             FilterText* _tmp151_;
  2319.             Filter* _tmp152_;
  2320.             FilterText* _tmp153_;
  2321.             GtkClipboard* _tmp154_;
  2322.             gchar* _tmp155_;
  2323.             const gchar* _tmp156_ = NULL;
  2324.             const gchar* _tmp157_;
  2325.             FilterText* _tmp158_;
  2326.             GtkEntry* _tmp159_;
  2327.             GtkEntry* _tmp160_;
  2328.             FilterText* _tmp161_;
  2329.             const gchar* _tmp162_;
  2330.             const gchar* _tmp163_;
  2331.             GtkEntry* _tmp164_;
  2332.             GtkEntry* _tmp165_;
  2333.             const gchar* _tmp166_;
  2334.             const gchar* _tmp167_;
  2335.             GtkEntry* _tmp168_;
  2336.             GtkEntry* _tmp169_;
  2337.             GtkBox* _tmp170_;
  2338.             GtkEntry* _tmp171_;
  2339.             GtkEntry* _tmp172_;
  2340.             GtkEntry* _tmp173_;
  2341.             GtkComboBoxText* _tmp174_;
  2342.             GtkComboBoxText* _tmp182_;
  2343.             GtkEventBox* ebox = NULL;
  2344.             GtkEventBox* _tmp183_;
  2345.             GtkBox* _tmp184_;
  2346.             GtkEventBox* _tmp185_;
  2347.             GtkLabel* _tmp186_;
  2348.             FilterText* _tmp187_;
  2349.             GtkLabel* _tmp188_;
  2350.             GtkLabel* _tmp189_;
  2351.             const gchar* _tmp190_;
  2352.             const gchar* _tmp191_;
  2353.             GtkEventBox* _tmp192_;
  2354.             GtkLabel* _tmp193_;
  2355.             GtkEventBox* _tmp194_;
  2356.             GtkPopover* _tmp195_;
  2357.             GtkPopover* _tmp196_;
  2358.             GtkComboBoxText* _tmp197_;
  2359.             GtkEventBox* _tmp198_;
  2360.             GtkComboBoxText* _tmp199_;
  2361.             GtkCheckButton* _tmp200_;
  2362.             GtkCheckButton* _tmp201_;
  2363.             GtkBox* _tmp202_;
  2364.             GtkCheckButton* _tmp203_;
  2365.             GtkCheckButton* _tmp204_;
  2366.             _data5_ = g_slice_new0 (Block5Data);
  2367.             _data5_->_ref_count_ = 1;
  2368.             _data5_->self = g_object_ref (self);
  2369.             _tmp151_ = filter_text_new ();
  2370.             _g_object_unref0 (self->priv->text);
  2371.             self->priv->text = _tmp151_;
  2372.             _tmp152_ = self->priv->_filter;
  2373.             _tmp153_ = self->priv->text;
  2374.             filter_set_filter_value (_tmp152_, (GObject*) _tmp153_);
  2375.             _tmp154_ = clipboard;
  2376.             _tmp155_ = gtk_clipboard_wait_for_text (_tmp154_);
  2377.             _g_free0 (clipboard_text);
  2378.             clipboard_text = _tmp155_;
  2379.             _tmp157_ = clipboard_text;
  2380.             _tmp156_ = _tmp157_;
  2381.             if (_tmp156_ == NULL) {
  2382.                 _tmp156_ = "";
  2383.             }
  2384.             _tmp158_ = self->priv->text;
  2385.             filter_text_set_text (_tmp158_, _tmp156_);
  2386.             _tmp159_ = (GtkEntry*) gtk_entry_new ();
  2387.             g_object_ref_sink (_tmp159_);
  2388.             _g_object_unref0 (self->priv->text_entry);
  2389.             self->priv->text_entry = _tmp159_;
  2390.             _tmp160_ = self->priv->text_entry;
  2391.             _tmp161_ = self->priv->text;
  2392.             _tmp162_ = filter_text_get_text (_tmp161_);
  2393.             _tmp163_ = _tmp162_;
  2394.             gtk_entry_set_text (_tmp160_, _tmp163_);
  2395.             _tmp164_ = self->priv->text_entry;
  2396.             _tmp165_ = self->priv->text_entry;
  2397.             _tmp166_ = gtk_entry_get_text (_tmp165_);
  2398.             _tmp167_ = _tmp166_;
  2399.             gtk_widget_set_tooltip_text ((GtkWidget*) _tmp164_, _tmp167_);
  2400.             _tmp168_ = self->priv->text_entry;
  2401.             gtk_entry_set_icon_from_icon_name (_tmp168_, GTK_ENTRY_ICON_SECONDARY, "edit-clear-symbolic");
  2402.             _tmp169_ = self->priv->text_entry;
  2403.             g_signal_connect_object (_tmp169_, "icon-press", (GCallback) ____lambda82__gtk_entry_icon_press, self, 0);
  2404.             _tmp170_ = self->priv->hbox;
  2405.             _tmp171_ = self->priv->text_entry;
  2406.             gtk_box_pack_start (_tmp170_, (GtkWidget*) _tmp171_, TRUE, TRUE, (guint) 0);
  2407.             _tmp172_ = self->priv->text_entry;
  2408.             g_signal_connect_object ((GtkEditable*) _tmp172_, "changed", (GCallback) ____lambda83__gtk_editable_changed, self, 0);
  2409.             _tmp173_ = self->priv->text_entry;
  2410.             g_signal_connect_object (_tmp173_, "activate", (GCallback) ____lambda84__gtk_entry_activate, self, 0);
  2411.             _tmp174_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
  2412.             g_object_ref_sink (_tmp174_);
  2413.             _data5_->text_combo = _tmp174_;
  2414.             i = 0;
  2415.             {
  2416.                 const gchar** s_collection = NULL;
  2417.                 gint s_collection_length1 = 0;
  2418.                 gint _s_collection_size_ = 0;
  2419.                 gint s_it = 0;
  2420.                 s_collection = TEXT_encodings;
  2421.                 s_collection_length1 = G_N_ELEMENTS (TEXT_encodings);
  2422.                 for (s_it = 0; s_it < G_N_ELEMENTS (TEXT_encodings); s_it = s_it + 1) {
  2423.                     gchar* _tmp175_;
  2424.                     gchar* s = NULL;
  2425.                     _tmp175_ = g_strdup (s_collection[s_it]);
  2426.                     s = _tmp175_;
  2427.                     {
  2428.                         GtkComboBoxText* _tmp176_;
  2429.                         const gchar* _tmp177_;
  2430.                         const gchar* _tmp178_;
  2431.                         gint _tmp181_;
  2432.                         _tmp176_ = _data5_->text_combo;
  2433.                         _tmp177_ = s;
  2434.                         gtk_combo_box_text_append_text (_tmp176_, _tmp177_);
  2435.                         _tmp178_ = s;
  2436.                         if (g_strcmp0 (_tmp178_, "UTF-8") == 0) {
  2437.                             GtkComboBoxText* _tmp179_;
  2438.                             gint _tmp180_;
  2439.                             _tmp179_ = _data5_->text_combo;
  2440.                             _tmp180_ = i;
  2441.                             gtk_combo_box_set_active ((GtkComboBox*) _tmp179_, _tmp180_);
  2442.                         }
  2443.                         _tmp181_ = i;
  2444.                         i = _tmp181_ + 1;
  2445.                         _g_free0 (s);
  2446.                     }
  2447.                 }
  2448.             }
  2449.             _tmp182_ = _data5_->text_combo;
  2450.             gtk_combo_box_set_wrap_width ((GtkComboBox*) _tmp182_, 4);
  2451.             _tmp183_ = (GtkEventBox*) gtk_event_box_new ();
  2452.             g_object_ref_sink (_tmp183_);
  2453.             ebox = _tmp183_;
  2454.             _tmp184_ = self->priv->hbox;
  2455.             _tmp185_ = ebox;
  2456.             gtk_box_pack_start (_tmp184_, (GtkWidget*) _tmp185_, FALSE, FALSE, (guint) 0);
  2457.             _tmp186_ = (GtkLabel*) gtk_label_new ("UTF-8");
  2458.             g_object_ref_sink (_tmp186_);
  2459.             _g_object_unref0 (self->priv->text_enc);
  2460.             self->priv->text_enc = _tmp186_;
  2461.             _tmp187_ = self->priv->text;
  2462.             _tmp188_ = self->priv->text_enc;
  2463.             _tmp189_ = self->priv->text_enc;
  2464.             _tmp190_ = gtk_label_get_label (_tmp189_);
  2465.             _tmp191_ = _tmp190_;
  2466.             gtk_widget_set_tooltip_text ((GtkWidget*) _tmp188_, _tmp191_);
  2467.             filter_text_set_encoding (_tmp187_, _tmp191_);
  2468.             _tmp192_ = ebox;
  2469.             _tmp193_ = self->priv->text_enc;
  2470.             gtk_container_add ((GtkContainer*) _tmp192_, (GtkWidget*) _tmp193_);
  2471.             _tmp194_ = ebox;
  2472.             _tmp195_ = (GtkPopover*) gtk_popover_new ((GtkWidget*) _tmp194_);
  2473.             g_object_ref_sink (_tmp195_);
  2474.             _g_object_unref0 (self->priv->tpop);
  2475.             self->priv->tpop = _tmp195_;
  2476.             _tmp196_ = self->priv->tpop;
  2477.             _tmp197_ = _data5_->text_combo;
  2478.             gtk_container_add ((GtkContainer*) _tmp196_, (GtkWidget*) _tmp197_);
  2479.             _tmp198_ = ebox;
  2480.             g_signal_connect_object ((GtkWidget*) _tmp198_, "button-press-event", (GCallback) ____lambda85__gtk_widget_button_press_event, self, 0);
  2481.             _tmp199_ = _data5_->text_combo;
  2482.             g_signal_connect_data ((GtkComboBox*) _tmp199_, "changed", (GCallback) ____lambda86__gtk_combo_box_changed, block5_data_ref (_data5_), (GClosureNotify) block5_data_unref, 0);
  2483.             _tmp200_ = (GtkCheckButton*) gtk_check_button_new ();
  2484.             g_object_ref_sink (_tmp200_);
  2485.             _g_object_unref0 (self->priv->text_case);
  2486.             self->priv->text_case = _tmp200_;
  2487.             _tmp201_ = self->priv->text_case;
  2488.             gtk_widget_set_tooltip_text ((GtkWidget*) _tmp201_, "Case sensitive");
  2489.             _tmp202_ = self->priv->hbox;
  2490.             _tmp203_ = self->priv->text_case;
  2491.             gtk_container_add ((GtkContainer*) _tmp202_, (GtkWidget*) _tmp203_);
  2492.             _tmp204_ = self->priv->text_case;
  2493.             g_signal_connect_object ((GtkToggleButton*) _tmp204_, "toggled", (GCallback) ____lambda87__gtk_toggle_button_toggled, self, 0);
  2494.             _g_object_unref0 (ebox);
  2495.             block5_data_unref (_data5_);
  2496.             _data5_ = NULL;
  2497.             break;
  2498.         }
  2499.         case TYPES_BINARY:
  2500.         {
  2501.             FilterBin* _tmp205_;
  2502.             Filter* _tmp206_;
  2503.             FilterBin* _tmp207_;
  2504.             GtkBox* _tmp208_;
  2505.             GtkLabel* _tmp209_;
  2506.             GtkLabel* _tmp210_;
  2507.             GtkEntry* _tmp211_;
  2508.             GtkBox* _tmp212_;
  2509.             GtkEntry* _tmp213_;
  2510.             GtkEntry* _tmp214_;
  2511.             GtkEntry* _tmp215_;
  2512.             GtkEntry* _tmp216_;
  2513.             GtkEntry* _tmp217_;
  2514.             GtkEntry* _tmp218_;
  2515.             _tmp205_ = filter_bin_new ();
  2516.             _g_object_unref0 (self->priv->bin);
  2517.             self->priv->bin = _tmp205_;
  2518.             _tmp206_ = self->priv->_filter;
  2519.             _tmp207_ = self->priv->bin;
  2520.             filter_set_filter_value (_tmp206_, (GObject*) _tmp207_);
  2521.             _tmp208_ = self->priv->hbox;
  2522.             _tmp209_ = (GtkLabel*) gtk_label_new ("0x");
  2523.             g_object_ref_sink (_tmp209_);
  2524.             _tmp210_ = _tmp209_;
  2525.             gtk_box_pack_start (_tmp208_, (GtkWidget*) _tmp210_, FALSE, FALSE, (guint) 0);
  2526.             _g_object_unref0 (_tmp210_);
  2527.             _tmp211_ = (GtkEntry*) gtk_entry_new ();
  2528.             g_object_ref_sink (_tmp211_);
  2529.             _g_object_unref0 (self->priv->bin_entry);
  2530.             self->priv->bin_entry = _tmp211_;
  2531.             _tmp212_ = self->priv->hbox;
  2532.             _tmp213_ = self->priv->bin_entry;
  2533.             gtk_box_pack_start (_tmp212_, (GtkWidget*) _tmp213_, TRUE, TRUE, (guint) 0);
  2534.             _tmp214_ = self->priv->bin_entry;
  2535.             g_signal_connect_object ((GtkEditable*) _tmp214_, "changed", (GCallback) ____lambda88__gtk_editable_changed, self, 0);
  2536.             _tmp215_ = self->priv->bin_entry;
  2537.             g_signal_connect_object ((GtkWidget*) _tmp215_, "focus-out-event", (GCallback) ____lambda89__gtk_widget_focus_out_event, self, 0);
  2538.             _tmp216_ = self->priv->bin_entry;
  2539.             g_signal_connect_object (_tmp216_, "activate", (GCallback) ____lambda90__gtk_entry_activate, self, 0);
  2540.             _tmp217_ = self->priv->bin_entry;
  2541.             gtk_entry_set_icon_from_icon_name (_tmp217_, GTK_ENTRY_ICON_SECONDARY, "edit-clear-symbolic");
  2542.             _tmp218_ = self->priv->bin_entry;
  2543.             g_signal_connect_object (_tmp218_, "icon-press", (GCallback) ____lambda91__gtk_entry_icon_press, self, 0);
  2544.             break;
  2545.         }
  2546.         default:
  2547.         {
  2548.             Filter* _tmp219_;
  2549.             GtkLabel* label = NULL;
  2550.             GtkLabel* _tmp220_;
  2551.             GtkBox* _tmp221_;
  2552.             GtkLabel* _tmp222_;
  2553.             _tmp219_ = self->priv->_filter;
  2554.             filter_set_filter_type (_tmp219_, TYPES_NONE);
  2555.             _tmp220_ = (GtkLabel*) gtk_label_new ("none");
  2556.             g_object_ref_sink (_tmp220_);
  2557.             label = _tmp220_;
  2558.             _tmp221_ = self->priv->hbox;
  2559.             _tmp222_ = label;
  2560.             gtk_container_add ((GtkContainer*) _tmp221_, (GtkWidget*) _tmp222_);
  2561.             _g_object_unref0 (label);
  2562.             break;
  2563.         }
  2564.     }
  2565.     _tmp223_ = self->priv->hbox;
  2566.     gtk_widget_show_all ((GtkWidget*) _tmp223_);
  2567.     _g_object_unref0 (clipboard);
  2568.     _g_object_unref0 (display);
  2569.     _g_free0 (clipboard_text);
  2570. }
  2571.  
  2572.  
  2573. static gboolean
  2574. string_get_next_char (const gchar* self,
  2575.                       gint* index,
  2576.                       gunichar* c)
  2577. {
  2578.     gunichar _vala_c = 0U;
  2579.     gboolean result = FALSE;
  2580.     gunichar _tmp0_;
  2581.     g_return_val_if_fail (self != NULL, FALSE);
  2582.     _vala_c = g_utf8_get_char (((gchar*) self) + (*index));
  2583.     _tmp0_ = _vala_c;
  2584.     if (_tmp0_ != ((gunichar) 0)) {
  2585.         gchar* _tmp1_;
  2586.         _tmp1_ = g_utf8_next_char (((gchar*) self) + (*index));
  2587.         *index = (gint) (_tmp1_ - ((gchar*) self));
  2588.         result = TRUE;
  2589.         if (c) {
  2590.             *c = _vala_c;
  2591.         }
  2592.         return result;
  2593.     } else {
  2594.         result = FALSE;
  2595.         if (c) {
  2596.             *c = _vala_c;
  2597.         }
  2598.         return result;
  2599.     }
  2600.     if (c) {
  2601.         *c = _vala_c;
  2602.     }
  2603. }
  2604.  
  2605.  
  2606. static gchar*
  2607. g_unichar_to_string (gunichar self)
  2608. {
  2609.     gchar* result = NULL;
  2610.     gchar* str = NULL;
  2611.     gchar* _tmp0_;
  2612.     const gchar* _tmp1_;
  2613.     _tmp0_ = g_new0 (gchar, 7);
  2614.     str = (gchar*) _tmp0_;
  2615.     _tmp1_ = str;
  2616.     g_unichar_to_utf8 (self, _tmp1_);
  2617.     result = str;
  2618.     return result;
  2619. }
  2620.  
  2621.  
  2622. static gchar*
  2623. query_row_check_hex (QueryRow* self,
  2624.                      const gchar* txt)
  2625. {
  2626.     gchar* result = NULL;
  2627.     gchar* res = NULL;
  2628.     gchar* _tmp0_;
  2629.     gint _tmp1_;
  2630.     gint _tmp2_;
  2631.     gchar* symb = NULL;
  2632.     gchar* _tmp3_;
  2633.     gunichar c = 0U;
  2634.     gint index = 0;
  2635.     g_return_val_if_fail (self != NULL, NULL);
  2636.     g_return_val_if_fail (txt != NULL, NULL);
  2637.     _tmp0_ = g_strdup ("");
  2638.     res = _tmp0_;
  2639.     if (txt == NULL) {
  2640.         result = res;
  2641.         return result;
  2642.     }
  2643.     _tmp1_ = strlen (txt);
  2644.     _tmp2_ = _tmp1_;
  2645.     if (_tmp2_ == 0) {
  2646.         result = res;
  2647.         return result;
  2648.     }
  2649.     _tmp3_ = g_strdup ("0123456789ABCDEF");
  2650.     symb = _tmp3_;
  2651.     c = (gunichar) 0;
  2652.     index = 0;
  2653.     {
  2654.         gint i = 0;
  2655.         i = 0;
  2656.         {
  2657.             gboolean _tmp4_ = FALSE;
  2658.             _tmp4_ = TRUE;
  2659.             while (TRUE) {
  2660.                 gunichar _tmp6_ = 0U;
  2661.                 gboolean _tmp7_;
  2662.                 const gchar* _tmp8_;
  2663.                 gunichar _tmp9_;
  2664.                 gchar* _tmp10_;
  2665.                 gchar* _tmp11_;
  2666.                 gchar* _tmp12_;
  2667.                 gchar* _tmp13_;
  2668.                 gboolean _tmp14_;
  2669.                 const gchar* _tmp15_;
  2670.                 gunichar _tmp16_;
  2671.                 gchar* _tmp17_;
  2672.                 gchar* _tmp18_;
  2673.                 gchar* _tmp19_;
  2674.                 gchar* _tmp20_;
  2675.                 gchar* _tmp21_;
  2676.                 if (!_tmp4_) {
  2677.                     gint _tmp5_;
  2678.                     _tmp5_ = i;
  2679.                     i = _tmp5_ + 1;
  2680.                 }
  2681.                 _tmp4_ = FALSE;
  2682.                 _tmp7_ = string_get_next_char (txt, &index, &_tmp6_);
  2683.                 c = _tmp6_;
  2684.                 if (!_tmp7_) {
  2685.                     break;
  2686.                 }
  2687.                 _tmp8_ = symb;
  2688.                 _tmp9_ = c;
  2689.                 _tmp10_ = g_unichar_to_string (_tmp9_);
  2690.                 _tmp11_ = _tmp10_;
  2691.                 _tmp12_ = g_utf8_strup (_tmp11_, (gssize) -1);
  2692.                 _tmp13_ = _tmp12_;
  2693.                 _tmp14_ = string_index_of (_tmp8_, _tmp13_, 0) == -1;
  2694.                 _g_free0 (_tmp13_);
  2695.                 _g_free0 (_tmp11_);
  2696.                 if (_tmp14_) {
  2697.                     result = res;
  2698.                     _g_free0 (symb);
  2699.                     return result;
  2700.                 }
  2701.                 _tmp15_ = res;
  2702.                 _tmp16_ = c;
  2703.                 _tmp17_ = g_unichar_to_string (_tmp16_);
  2704.                 _tmp18_ = _tmp17_;
  2705.                 _tmp19_ = g_utf8_strup (_tmp18_, (gssize) -1);
  2706.                 _tmp20_ = _tmp19_;
  2707.                 _tmp21_ = g_strconcat (_tmp15_, _tmp20_, NULL);
  2708.                 _g_free0 (res);
  2709.                 res = _tmp21_;
  2710.                 _g_free0 (_tmp20_);
  2711.                 _g_free0 (_tmp18_);
  2712.             }
  2713.         }
  2714.     }
  2715.     result = res;
  2716.     _g_free0 (symb);
  2717.     return result;
  2718. }
  2719.  
  2720.  
  2721. static gunichar
  2722. string_get_char (const gchar* self,
  2723.                  glong index)
  2724. {
  2725.     gunichar result = 0U;
  2726.     g_return_val_if_fail (self != NULL, 0U);
  2727.     result = g_utf8_get_char (((gchar*) self) + index);
  2728.     return result;
  2729. }
  2730.  
  2731.  
  2732. static gchar*
  2733. query_row_check_dec (QueryRow* self,
  2734.                      const gchar* txt)
  2735. {
  2736.     gchar* result = NULL;
  2737.     gchar* res = NULL;
  2738.     gchar* _tmp0_;
  2739.     gint _tmp1_;
  2740.     gint _tmp2_;
  2741.     gchar* symb = NULL;
  2742.     gchar* _tmp3_;
  2743.     gunichar c = 0U;
  2744.     gint index = 0;
  2745.     const gchar* _tmp20_;
  2746.     gint _tmp21_;
  2747.     gint _tmp22_;
  2748.     g_return_val_if_fail (self != NULL, NULL);
  2749.     g_return_val_if_fail (txt != NULL, NULL);
  2750.     _tmp0_ = g_strdup ("");
  2751.     res = _tmp0_;
  2752.     if (txt == NULL) {
  2753.         result = res;
  2754.         return result;
  2755.     }
  2756.     _tmp1_ = strlen (txt);
  2757.     _tmp2_ = _tmp1_;
  2758.     if (_tmp2_ == 0) {
  2759.         result = res;
  2760.         return result;
  2761.     }
  2762.     _tmp3_ = g_strdup ("0123456789");
  2763.     symb = _tmp3_;
  2764.     c = (gunichar) 0;
  2765.     index = 0;
  2766.     {
  2767.         gint i = 0;
  2768.         i = 0;
  2769.         {
  2770.             gboolean _tmp4_ = FALSE;
  2771.             _tmp4_ = TRUE;
  2772.             while (TRUE) {
  2773.                 gunichar _tmp6_ = 0U;
  2774.                 gboolean _tmp7_;
  2775.                 const gchar* _tmp8_;
  2776.                 gunichar _tmp9_;
  2777.                 gchar* _tmp10_;
  2778.                 gchar* _tmp11_;
  2779.                 gboolean _tmp12_;
  2780.                 const gchar* _tmp13_;
  2781.                 gunichar _tmp14_;
  2782.                 gchar* _tmp15_;
  2783.                 gchar* _tmp16_;
  2784.                 gchar* _tmp17_;
  2785.                 gchar* _tmp18_;
  2786.                 gchar* _tmp19_;
  2787.                 if (!_tmp4_) {
  2788.                     gint _tmp5_;
  2789.                     _tmp5_ = i;
  2790.                     i = _tmp5_ + 1;
  2791.                 }
  2792.                 _tmp4_ = FALSE;
  2793.                 _tmp7_ = string_get_next_char (txt, &index, &_tmp6_);
  2794.                 c = _tmp6_;
  2795.                 if (!_tmp7_) {
  2796.                     break;
  2797.                 }
  2798.                 _tmp8_ = symb;
  2799.                 _tmp9_ = c;
  2800.                 _tmp10_ = g_unichar_to_string (_tmp9_);
  2801.                 _tmp11_ = _tmp10_;
  2802.                 _tmp12_ = string_index_of (_tmp8_, _tmp11_, 0) == -1;
  2803.                 _g_free0 (_tmp11_);
  2804.                 if (_tmp12_) {
  2805.                     result = res;
  2806.                     _g_free0 (symb);
  2807.                     return result;
  2808.                 }
  2809.                 _tmp13_ = res;
  2810.                 _tmp14_ = c;
  2811.                 _tmp15_ = g_unichar_to_string (_tmp14_);
  2812.                 _tmp16_ = _tmp15_;
  2813.                 _tmp17_ = g_utf8_strup (_tmp16_, (gssize) -1);
  2814.                 _tmp18_ = _tmp17_;
  2815.                 _tmp19_ = g_strconcat (_tmp13_, _tmp18_, NULL);
  2816.                 _g_free0 (res);
  2817.                 res = _tmp19_;
  2818.                 _g_free0 (_tmp18_);
  2819.                 _g_free0 (_tmp16_);
  2820.             }
  2821.         }
  2822.     }
  2823.     _tmp20_ = res;
  2824.     _tmp21_ = strlen (_tmp20_);
  2825.     _tmp22_ = _tmp21_;
  2826.     if (_tmp22_ > 1) {
  2827.         const gchar* _tmp23_;
  2828.         gchar* _tmp24_;
  2829.         gchar* _tmp25_;
  2830.         gboolean _tmp26_;
  2831.         _tmp23_ = res;
  2832.         _tmp24_ = g_unichar_to_string (string_get_char (_tmp23_, (glong) 0));
  2833.         _tmp25_ = _tmp24_;
  2834.         _tmp26_ = g_strcmp0 (_tmp25_, "0") == 0;
  2835.         _g_free0 (_tmp25_);
  2836.         if (_tmp26_) {
  2837.             const gchar* _tmp27_;
  2838.             gchar* _tmp28_;
  2839.             _tmp27_ = res;
  2840.             _tmp28_ = string_substring (_tmp27_, (glong) 1, (glong) -1);
  2841.             _g_free0 (res);
  2842.             res = _tmp28_;
  2843.         }
  2844.     }
  2845.     result = res;
  2846.     _g_free0 (symb);
  2847.     return result;
  2848. }
  2849.  
  2850.  
  2851. Filter*
  2852. query_row_get_filter (QueryRow* self)
  2853. {
  2854.     Filter* result;
  2855.     Filter* _tmp0_;
  2856.     g_return_val_if_fail (self != NULL, NULL);
  2857.     _tmp0_ = self->priv->_filter;
  2858.     result = _tmp0_;
  2859.     return result;
  2860. }
  2861.  
  2862.  
  2863. types
  2864. query_row_get_row_type (QueryRow* self)
  2865. {
  2866.     types result;
  2867.     GtkComboBoxText* _tmp0_;
  2868.     gint _tmp1_;
  2869.     gint _tmp2_;
  2870.     g_return_val_if_fail (self != NULL, 0);
  2871.     _tmp0_ = self->priv->combo_type;
  2872.     _tmp1_ = gtk_combo_box_get_active ((GtkComboBox*) _tmp0_);
  2873.     _tmp2_ = _tmp1_;
  2874.     result = (types) _tmp2_;
  2875.     return result;
  2876. }
  2877.  
  2878.  
  2879. void
  2880. query_row_set_row_type (QueryRow* self,
  2881.                         types value)
  2882. {
  2883.     GtkComboBoxText* _tmp0_;
  2884.     g_return_if_fail (self != NULL);
  2885.     _tmp0_ = self->priv->combo_type;
  2886.     gtk_combo_box_set_active ((GtkComboBox*) _tmp0_, (gint) value);
  2887.     g_object_notify_by_pspec ((GObject *) self, query_row_properties[QUERY_ROW_ROW_TYPE_PROPERTY]);
  2888. }
  2889.  
  2890.  
  2891. static void
  2892. query_row_class_init (QueryRowClass * klass)
  2893. {
  2894.     query_row_parent_class = g_type_class_peek_parent (klass);
  2895.     g_type_class_add_private (klass, sizeof (QueryRowPrivate));
  2896.     G_OBJECT_CLASS (klass)->get_property = _vala_query_row_get_property;
  2897.     G_OBJECT_CLASS (klass)->set_property = _vala_query_row_set_property;
  2898.     G_OBJECT_CLASS (klass)->finalize = query_row_finalize;
  2899.     g_object_class_install_property (G_OBJECT_CLASS (klass), QUERY_ROW_FILTER_PROPERTY, query_row_properties[QUERY_ROW_FILTER_PROPERTY] = param_spec_filter ("filter", "filter", "filter", TYPE_FILTER, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
  2900.     g_object_class_install_property (G_OBJECT_CLASS (klass), QUERY_ROW_ROW_TYPE_PROPERTY, query_row_properties[QUERY_ROW_ROW_TYPE_PROPERTY] = g_param_spec_enum ("row-type", "row-type", "row-type", TYPE_TYPES, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
  2901.     query_row_signals[QUERY_ROW_CLOSED_SIGNAL] = g_signal_new ("closed", TYPE_QUERY_ROW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_QUERY_ROW);
  2902.     query_row_signals[QUERY_ROW_CHANGED_TYPE_SIGNAL] = g_signal_new ("changed-type", TYPE_QUERY_ROW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_QUERY_ROW);
  2903.     query_row_signals[QUERY_ROW_SEARCH_SIGNAL] = g_signal_new ("search", TYPE_QUERY_ROW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
  2904. }
  2905.  
  2906.  
  2907. static void
  2908. query_row_instance_init (QueryRow * self)
  2909. {
  2910.     self->priv = QUERY_ROW_GET_PRIVATE (self);
  2911. }
  2912.  
  2913.  
  2914. static void
  2915. query_row_finalize (GObject * obj)
  2916. {
  2917.     QueryRow * self;
  2918.     self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_QUERY_ROW, QueryRow);
  2919.     _g_object_unref0 (self->priv->combo_type);
  2920.     _g_object_unref0 (self->priv->hbox);
  2921.     _filter_unref0 (self->priv->_filter);
  2922.     _g_object_unref0 (self->location);
  2923.     _g_object_unref0 (self->chooser);
  2924.     _g_object_unref0 (self->priv->chk_rec);
  2925.     _g_object_unref0 (self->files);
  2926.     _g_object_unref0 (self->files_btn);
  2927.     _g_object_unref0 (self->priv->mime);
  2928.     _g_object_unref0 (self->priv->mime_menu);
  2929.     _g_object_unref0 (self->priv->mask);
  2930.     _g_object_unref0 (self->priv->mask_entry);
  2931.     _g_object_unref0 (self->priv->mask_case);
  2932.     _g_object_unref0 (self->priv->modified);
  2933.     _g_object_unref0 (self->priv->mod_btn);
  2934.     _g_object_unref0 (self->priv->text);
  2935.     _g_object_unref0 (self->priv->text_entry);
  2936.     _g_object_unref0 (self->priv->text_enc);
  2937.     _g_object_unref0 (self->priv->text_case);
  2938.     _g_object_unref0 (self->priv->tpop);
  2939.     _g_object_unref0 (self->priv->bin);
  2940.     _g_object_unref0 (self->priv->bin_entry);
  2941.     _g_object_unref0 (self->priv->size);
  2942.     G_OBJECT_CLASS (query_row_parent_class)->finalize (obj);
  2943. }
  2944.  
  2945.  
  2946. GType
  2947. query_row_get_type (void)
  2948. {
  2949.     static volatile gsize query_row_type_id__volatile = 0;
  2950.     if (g_once_init_enter (&query_row_type_id__volatile)) {
  2951.         static const GTypeInfo g_define_type_info = { sizeof (QueryRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) query_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (QueryRow), 0, (GInstanceInitFunc) query_row_instance_init, NULL };
  2952.         GType query_row_type_id;
  2953.         query_row_type_id = g_type_register_static (gtk_box_get_type (), "QueryRow", &g_define_type_info, 0);
  2954.         g_once_init_leave (&query_row_type_id__volatile, query_row_type_id);
  2955.     }
  2956.     return query_row_type_id__volatile;
  2957. }
  2958.  
  2959.  
  2960. static void
  2961. _vala_query_row_get_property (GObject * object,
  2962.                               guint property_id,
  2963.                               GValue * value,
  2964.                               GParamSpec * pspec)
  2965. {
  2966.     QueryRow * self;
  2967.     self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_QUERY_ROW, QueryRow);
  2968.     switch (property_id) {
  2969.         case QUERY_ROW_FILTER_PROPERTY:
  2970.         value_set_filter (value, query_row_get_filter (self));
  2971.         break;
  2972.         case QUERY_ROW_ROW_TYPE_PROPERTY:
  2973.         g_value_set_enum (value, query_row_get_row_type (self));
  2974.         break;
  2975.         default:
  2976.         G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
  2977.         break;
  2978.     }
  2979. }
  2980.  
  2981.  
  2982. static void
  2983. _vala_query_row_set_property (GObject * object,
  2984.                               guint property_id,
  2985.                               const GValue * value,
  2986.                               GParamSpec * pspec)
  2987. {
  2988.     QueryRow * self;
  2989.     self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_QUERY_ROW, QueryRow);
  2990.     switch (property_id) {
  2991.         case QUERY_ROW_ROW_TYPE_PROPERTY:
  2992.         query_row_set_row_type (self, g_value_get_enum (value));
  2993.         break;
  2994.         default:
  2995.         G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
  2996.         break;
  2997.     }
  2998. }
  2999.  
  3000.  
  3001. static void
  3002. _vala_array_destroy (gpointer array,
  3003.                      gint array_length,
  3004.                      GDestroyNotify destroy_func)
  3005. {
  3006.     if ((array != NULL) && (destroy_func != NULL)) {
  3007.         int i;
  3008.         for (i = 0; i < array_length; i = i + 1) {
  3009.             if (((gpointer*) array)[i] != NULL) {
  3010.                 destroy_func (((gpointer*) array)[i]);
  3011.             }
  3012.         }
  3013.     }
  3014. }
  3015.  
  3016.  
  3017. static void
  3018. _vala_array_free (gpointer array,
  3019.                   gint array_length,
  3020.                   GDestroyNotify destroy_func)
  3021. {
  3022.     _vala_array_destroy (array, array_length, destroy_func);
  3023.     g_free (array);
  3024. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement