Revision: 4850 http://geany.svn.sourceforge.net/geany/?rev=4850&view=rev Author: ntrel Date: 2010-04-22 12:03:37 +0000 (Thu, 22 Apr 2010)
Log Message: ----------- Make plugin_signal_connect() string argument const (patch by Colomban Wendling, thanks).
Modified Paths: -------------- trunk/ChangeLog trunk/THANKS trunk/src/plugindata.h trunk/src/pluginutils.c trunk/src/pluginutils.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-04-21 19:30:23 UTC (rev 4849) +++ trunk/ChangeLog 2010-04-22 12:03:37 UTC (rev 4850) @@ -1,3 +1,10 @@ +2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS: + Make plugin_signal_connect() string argument const (patch by + Colomban Wendling, thanks). + + 2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
Modified: trunk/THANKS =================================================================== --- trunk/THANKS 2010-04-21 19:30:23 UTC (rev 4849) +++ trunk/THANKS 2010-04-22 12:03:37 UTC (rev 4850) @@ -45,7 +45,7 @@ Matti Mårds <mamaar(at)gmail(dot)com> - create PHP tags script Robert McGinley <mcginleyr1(at)gmail(dot)com> - Documentation improvements Felipe Pena <felipensp(at)gmail(dot)com> - Missing PHP keywords -Colomban Wendling <colombanw(at)users(dot)sourceforge(dot)net> - GLSL filetype patch +Colomban Wendling <colombanw(at)users(dot)sourceforge(dot)net> - various patches Timothy Boronczyk <tboronczyk(at)gmail(dot)com> - scroll_stop_at_last_line GUI pref patch Jason Oster <parasytic(at)users(dot)sourceforge(dot)net> - various patches Andrew Rowland <weibullguy(at)charter(dot)net> - R filetype patch
Modified: trunk/src/plugindata.h =================================================================== --- trunk/src/plugindata.h 2010-04-21 19:30:23 UTC (rev 4849) +++ trunk/src/plugindata.h 2010-04-22 12:03:37 UTC (rev 4850) @@ -584,7 +584,7 @@ void (*plugin_add_toolbar_item)(GeanyPlugin *plugin, GtkToolItem *item); void (*plugin_module_make_resident) (GeanyPlugin *plugin); void (*plugin_signal_connect) (GeanyPlugin *plugin, - GObject *object, gchar *signal_name, gboolean after, + GObject *object, const gchar *signal_name, gboolean after, GCallback callback, gpointer user_data); struct GeanyKeyGroup* (*plugin_set_key_group)(GeanyPlugin *plugin, const gchar *section_name, gsize count, _GeanyKeyGroupCallback callback);
Modified: trunk/src/pluginutils.c =================================================================== --- trunk/src/pluginutils.c 2010-04-21 19:30:23 UTC (rev 4849) +++ trunk/src/pluginutils.c 2010-04-22 12:03:37 UTC (rev 4850) @@ -109,7 +109,7 @@ * @param user_data The user data passed to the signal handler. * @see plugin_callbacks. */ void plugin_signal_connect(GeanyPlugin *plugin, - GObject *object, gchar *signal_name, gboolean after, + GObject *object, const gchar *signal_name, gboolean after, GCallback callback, gpointer user_data) { gulong id;
Modified: trunk/src/pluginutils.h =================================================================== --- trunk/src/pluginutils.h 2010-04-21 19:30:23 UTC (rev 4849) +++ trunk/src/pluginutils.h 2010-04-22 12:03:37 UTC (rev 4850) @@ -40,7 +40,7 @@ void plugin_module_make_resident(struct GeanyPlugin *plugin);
void plugin_signal_connect(struct GeanyPlugin *plugin, - GObject *object, gchar *signal_name, gboolean after, + GObject *object, const gchar *signal_name, gboolean after, GCallback callback, gpointer user_data);
struct GeanyKeyGroup *plugin_set_key_group(struct GeanyPlugin *plugin,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.