Mercurial > hg > forks > geeqie
changeset 2910:7d15201edf30
Bug Fix: DEBUG_NAME() function for use with GTKInspector
gcc shows a "too many arguments" error, but clang does not.
author | Colin Clark <colin.clark@cclark.uk> |
---|---|
date | Thu, 21 Feb 2019 15:04:01 +0000 |
parents | 2e7fd08bfbe4 |
children | 89bdd971db1a |
files | src/debug.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/debug.h Thu Feb 14 12:05:04 2019 +0000 +++ b/src/debug.h Thu Feb 21 15:04:01 2019 +0000 @@ -70,7 +70,7 @@ */ #define DEBUG_NAME(widget) do \ { \ - gtk_widget_set_name(GTK_WIDGET(widget), g_strdup_printf("%s:%d", __FILE__, __LINE__, NULL)); \ + gtk_widget_set_name(GTK_WIDGET(widget), g_strdup_printf("%s:%d", __FILE__, __LINE__)); \ } while(0) #else /* DEBUG */