From e57b63325bfce76dd5b4e6b8dc857f0f17e1513c Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 30 Mar 2023 11:18:29 -0300 Subject: [PATCH] Using 'classical' style only on windows, removing debug message. --- configure.ac | 4 ++-- src/objects/actions/view.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e533360..f875cd3 100644 --- a/configure.ac +++ b/configure.ac @@ -104,7 +104,7 @@ case "$host" in LDFLAGS="$LDFLAGS -pthread" # Windows and unix doesn't use the same defaults. - AC_SUBST(DEFAULT_UI_STYLE,0) + AC_SUBST(DEFAULT_UI_STYLE,1) AC_SUBST(DEFAULT_MENUBAR_VISIBLE,"false") ;; @@ -116,7 +116,7 @@ case "$host" in LDFLAGS="$LDFLAGS -pthread" # Windows and unix doesn't use the same defaults. - AC_SUBST(DEFAULT_UI_STYLE,0) + AC_SUBST(DEFAULT_UI_STYLE,1) AC_SUBST(DEFAULT_MENUBAR_VISIBLE,"false") esac diff --git a/src/objects/actions/view.c b/src/objects/actions/view.c index 2a61498..f9d7f1f 100644 --- a/src/objects/actions/view.c +++ b/src/objects/actions/view.c @@ -195,7 +195,6 @@ static GSList * append_action(GSList * list, const gchar *prefix, GAction *actio GdkPixbuf * pixbuf = g_action_get_pixbuf(action, GTK_ICON_SIZE_MENU, GTK_ICON_LOOKUP_GENERIC_FALLBACK); if(!pixbuf) { - debug("Action \"%s\": Doesn't have a pixbuf",g_action_get_name(action)); return list; } -- libgit2 0.21.2