warning: ISO C++ forbids converting a string constant to ‘gchar*’ {aka
‘char*’} [-Wwrite-strings]
text[DUPE_COLUMN_RANK] = g_strdup_printf("%d%s", rank, (di->second) ? " (2)" : "");
}
- text[DUPE_COLUMN_THUMB] = ("");
+ text[DUPE_COLUMN_THUMB] = nullptr;
text[DUPE_COLUMN_NAME] = const_cast<gchar *>(di->fd->name);
text[DUPE_COLUMN_SIZE] = text_from_size(di->fd->size);
text[DUPE_COLUMN_DATE] = const_cast<gchar *>(text_from_time(di->fd->date));
break;
}
- return ("");
+ return nullptr;
}
static GtkWidget *submenu_add_sort_item(GtkWidget *menu,
break;
}
- return ("");
+ return nullptr;
}
static GtkWidget *submenu_add_zoom_item(GtkWidget *menu,
break;
}
- return ("");
+ return nullptr;
}
static void submenu_add_alter_item(GtkWidget *menu, GCallback func, AlterType type,