Skip to content

Commit 379e931

Browse files
committed
Survive empty openbox-theme combobox
1 parent b50bf3e commit 379e931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ update(GtkWidget *widget, gpointer data)
100100
environment_set("XCURSOR_THEME", COMBO_TEXT(cursor_theme_name));
101101

102102

103-
if (!strcmp(COMBO_TEXT(openbox_theme_name), "GTK")) {
103+
if (!g_strcmp0(COMBO_TEXT(openbox_theme_name), "GTK")) {
104104
spawn_sync("labwc-gtktheme.py");
105105
}
106106

0 commit comments

Comments
 (0)