namespace
{
+constexpr gint DIALOG_WIDTH = 750;
+
+/* thumbnail spec has a max depth of 4 (.thumb??/fail/appname/??.png) */
+constexpr gint UTILITY_DELETE_MAX_DEPTH = 5;
+
struct PixmapErrors
{
GdkPixbuf *error;
return pe.apply;
}
-}
-
-enum {
- DIALOG_WIDTH = 750
-};
+} // namespace
enum ClipboardDestination {
CLIPBOARD_TEXT_PLAIN = 0,
UTILITY_LIST_MIN_HEIGHT = 150
};
-/* thumbnail spec has a max depth of 4 (.thumb??/fail/appname/??.png) */
-enum {
- UTILITY_DELETE_MAX_DEPTH = 5
-};
-
static UtilityData *file_util_data_new(UtilityType type)
{
UtilityData *ud;