return ret;
}
-static gboolean dupe_window_recompare_cb(gpointer data)
-{
- DupeWindow *dw = data;
-
- dupe_window_recompare_cb(dw);
-}
-
static void column_clicked_cb(GtkWidget *widget, gpointer data)
{
DupeWindow *dw = data;
options->duplicates_match = DUPE_SELECT_NONE;
dupe_listview_select_dupes(dw, DUPE_SELECT_NONE);
- dupe_window_recompare_cb, dw;
}
/* collection and files can be NULL */
window_rename_ok(gd, rw);
}
-static gboolean window_rename_entry_activate_cb(GenericDialog *gd, gpointer data)
+static void window_rename_entry_activate_cb(GenericDialog *gd, gpointer data)
{
RenameWindow *rw = data;
out_file_stream = g_file_append_to(out_file, G_FILE_CREATE_PRIVATE, NULL, NULL);
out_data_stream = g_data_output_stream_new(G_OUTPUT_STREAM(out_file_stream));
- while (line = g_data_input_stream_read_line(in_data_stream, NULL, NULL, NULL))
+ while ((line = g_data_input_stream_read_line(in_data_stream, NULL, NULL, NULL)))
{
if (g_str_has_suffix(line, "<layout"))
{