X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fclearlooks-newer%2Fclearlooks_rc_style.c;h=fdce13af1c0e14eb87e9e561471b23ef11f0133c;hb=00df619d2184ad6d46eda1b0964b7ac4ed2bffcd;hp=b54abebb4de159d005907d4a347f7b8432d6d525;hpb=efff843f0537df84e22af5f6f6e8e6d6a305a5a9;p=ardour.git diff --git a/libs/clearlooks-newer/clearlooks_rc_style.c b/libs/clearlooks-newer/clearlooks_rc_style.c index b54abebb4d..fdce13af1c 100644 --- a/libs/clearlooks-newer/clearlooks_rc_style.c +++ b/libs/clearlooks-newer/clearlooks_rc_style.c @@ -80,7 +80,7 @@ clearlooks_gtk2_rc_symbols[] = { "contrast", TOKEN_CONTRAST }, { "sunkenmenubar", TOKEN_SUNKENMENU }, { "progressbarstyle", TOKEN_PROGRESSBARSTYLE }, - { "menubarstyle", TOKEN_MENUBARSTYLE }, + { "menubarstyle", TOKEN_MENUBARSTYLE }, { "toolbarstyle", TOKEN_TOOLBARSTYLE }, { "menuitemstyle", TOKEN_MENUITEMSTYLE }, { "listviewitemstyle", TOKEN_LISTVIEWITEMSTYLE }, @@ -281,7 +281,7 @@ clearlooks_gtk2_rc_parse_style (GtkSettings *settings, return G_TOKEN_EQUAL_SIGN; token = g_scanner_get_next_token (scanner); - + switch (token) { case TOKEN_CLASSIC: @@ -306,7 +306,7 @@ clearlooks_gtk2_rc_parse_style (GtkSettings *settings, static guint clearlooks_gtk2_rc_parse_dummy (GtkSettings *settings, GScanner *scanner, - gchar *name) + const gchar *name) { guint token; @@ -333,7 +333,7 @@ static guint clearlooks_rc_style_parse (GtkRcStyle *rc_style, GtkSettings *settings, GScanner *scanner) - + { static GQuark scope_id = 0; ClearlooksRcStyle *clearlooks_style = CLEARLOOKS_RC_STYLE (rc_style); @@ -482,6 +482,6 @@ static GtkStyle * clearlooks_rc_style_create_style (GtkRcStyle *rc_style) { (void) rc_style; - + return GTK_STYLE (g_object_new (CLEARLOOKS_TYPE_STYLE, NULL)); }