And make the title :: parsing work for nested titles too,
so this works.
stock_browser.c \
textview.c \
textscroll.c \
- theming.c \
+ theming_style_classes.c \
toolpalette.c \
transparent.c \
tree_store.c \
while (*p == '/' || *p == '*' || g_ascii_isspace (*p))
p++;
r = p;
- while (*r != '/' && *r != ':' && *r != '\0')
- r++;
- if (*r == '/')
- p = r + 1;
- if (r[0] == ':' && r[1] == ':')
- *r = '\0';
+ while (*r != '\0')
+ {
+ while (*r != '/' && *r != ':' && *r != '\0')
+ r++;
+ if (*r == '/')
+ {
+ r++;
+ p = r;
+ }
+ if (r[0] == ':' && r[1] == ':')
+ *r = '\0';
+ }
q = p + strlen (p);
while (q > p && g_ascii_isspace (*(q - 1)))
q--;
-/* Theming :: theming.ui
+/* Theming/Style Classes :: theming.ui
*
* GTK+ uses CSS for theming. Style classes can be associated
* with widgets to inform the theme about intended rendering.
static GtkWidget *window = NULL;
GtkWidget *
-do_theming (GtkWidget *do_widget)
+do_theming_style_classes (GtkWidget *do_widget)
{
GtkWidget *grid;
GtkBuilder *builder;