Revision: 1882 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1882&view=re... Author: wfraser Date: 2011-01-27 21:00:57 +0000 (Thu, 27 Jan 2011)
Log Message: ----------- corrected arguments to dialogs_show_msgbox in Notification_Handler
Modified Paths: -------------- trunk/geany-plugins/geanycfp/src/geanycfp.c
Modified: trunk/geany-plugins/geanycfp/src/geanycfp.c =================================================================== --- trunk/geany-plugins/geanycfp/src/geanycfp.c 2011-01-27 10:43:17 UTC (rev 1881) +++ trunk/geany-plugins/geanycfp/src/geanycfp.c 2011-01-27 21:00:57 UTC (rev 1882) @@ -568,7 +568,7 @@ static gboolean Notification_Handler(GObject *obj, GeanyEditor *editor, SCNotification *nt, gpointer user_data) { - gchar *cTemp,*cFoldData=NULL; + gchar *cFoldData=NULL; MacroEvent *me; ScintillaObject* sci=document_get_current()->editor->sci; gint i,iBits,iFlags,iBitCounter,iLineCount; @@ -696,9 +696,8 @@ case SCI_LINEENDDISPLAYEXTEND: break; default: - cTemp=g_strdup_printf(_("Unrecognised message\n%i %i %i"),nt->message,nt->wParam,nt->lParam); - dialogs_show_msgbox(GTK_MESSAGE_INFO,cTemp); - g_free(cTemp); + dialogs_show_msgbox(GTK_MESSAGE_INFO,_("Unrecognised message\n%i %i %i"),nt->message, + (gint)(nt->wParam),(gint)(nt->lParam)); return FALSE; } me=g_new0(MacroEvent,1);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.