Commit f4e9726e authored by Simon Steinbeiss's avatar Simon Steinbeiss Committed by Simon Steinbeiß
Browse files

Drop leftover function for toolbar style

parent 6af11c82
......@@ -385,25 +385,3 @@ xtm_settings_get_default (void)
}
return settings;
}
GType
xtm_toolbar_style_get_type (void)
{
static GType type = G_TYPE_INVALID;
static const GEnumValue values[] = {
{ XTM_TOOLBAR_STYLE_DEFAULT, "DEFAULT", N_("Default") },
{ XTM_TOOLBAR_STYLE_SMALL, "SMALL", N_("Small") },
{ XTM_TOOLBAR_STYLE_LARGE, "LARGE", N_("Large") },
{ XTM_TOOLBAR_STYLE_TEXT, "TEXT", N_("Text") },
{ 0, NULL, NULL }
};
if (type != G_TYPE_INVALID)
return type;
type = g_enum_register_static ("XtmToolbarStyle", values);
return type;
}
......@@ -31,15 +31,4 @@ XtmSettings * xtm_settings_get_default (void);
typedef enum
{
XTM_TOOLBAR_STYLE_DEFAULT,
XTM_TOOLBAR_STYLE_SMALL,
XTM_TOOLBAR_STYLE_LARGE,
XTM_TOOLBAR_STYLE_TEXT,
} XtmToolbarStyle;
GType xtm_toolbar_style_get_type (void);
#define XTM_TYPE_TOOLBAR_STYLE (xtm_toolbar_style_get_type ())
#endif /* !SETTINGS_H */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment