projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02e52cb
)
Bug Fix: DEBUG_NAME() function for use with GTKInspector
author
Colin Clark
<colin.clark@cclark.uk>
Thu, 21 Feb 2019 15:04:01 +0000
(15:04 +0000)
committer
Colin Clark
<colin.clark@cclark.uk>
Thu, 21 Feb 2019 15:04:01 +0000
(15:04 +0000)
gcc shows a "too many arguments" error, but clang does not.
src/debug.h
patch
|
blob
|
history
diff --git
a/src/debug.h
b/src/debug.h
index
c221ce0
..
06b7b8d
100644
(file)
--- a/
src/debug.h
+++ b/
src/debug.h
@@
-70,7
+70,7
@@
void init_exec_time(void);
*/
#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 */