Mercurial > hg > forks > geeqie
changeset 2132:e8df5a39862c
Silent a warning when compiling with GTK+ >= 3.0.0.
unused variable ‘success’ [-Wunused-variable]
author | Laurent Monin <zas@norz.org> |
---|---|
date | Thu, 30 Aug 2012 14:21:41 +0200 |
parents | 452724889a32 |
children | 3384ddc4abb5 |
files | src/logwindow.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/logwindow.c Thu Aug 30 14:18:53 2012 +0200 +++ b/src/logwindow.c Thu Aug 30 14:21:41 2012 +0200 @@ -113,8 +113,8 @@ GtkTextBuffer *buffer; #if !GTK_CHECK_VERSION(3,0,0) GdkColormap *colormap; + gboolean success[LOG_COUNT]; #endif - gboolean success[LOG_COUNT]; gint i; g_assert(logwin != NULL);