SF.net SVN: geany:[5945] trunk/src/dialogs.c
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Sep 22 12:05:06 UTC 2011
Revision: 5945
http://geany.svn.sourceforge.net/geany/?rev=5945&view=rev
Author: ntrel
Date: 2011-09-22 12:05:05 +0000 (Thu, 22 Sep 2011)
Log Message:
-----------
Fix string literal comparison warning.
Modified Paths:
--------------
trunk/src/dialogs.c
Modified: trunk/src/dialogs.c
===================================================================
--- trunk/src/dialogs.c 2011-09-22 11:52:58 UTC (rev 5944)
+++ trunk/src/dialogs.c 2011-09-22 12:05:05 UTC (rev 5945)
@@ -1588,7 +1588,7 @@
#ifdef G_OS_WIN32
/* our native dialog code doesn't support custom buttons */
- if (btn_3 == GTK_STOCK_YES && btn_2 == GTK_STOCK_NO && btn_1 == NULL)
+ if (btn_3 == (gchar*)GTK_STOCK_YES && btn_2 == (gchar*)GTK_STOCK_NO && btn_1 == NULL)
{
gchar *string = (extra_text == NULL) ? g_strdup(question_text) :
g_strconcat(question_text, "\n\n", extra_text, NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list