diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 08:42:48 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 08:42:48 +0100 |
commit | e681eafa78262d0c177832d67900687f2c938081 (patch) | |
tree | 5668476e046c505b9f3fcc8c53b6e0971c146978 /plugins/gtkpref | |
parent | 97dc13fde70810abf07985f45ac459560eae6e96 (diff) |
Rebranding for the rest of plugin*
Diffstat (limited to 'plugins/gtkpref')
-rw-r--r-- | plugins/gtkpref/gtkpref.c | 14 | ||||
-rw-r--r-- | plugins/gtkpref/makefile.mak | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/plugins/gtkpref/gtkpref.c b/plugins/gtkpref/gtkpref.c index 8fdb4714..337f14d2 100644 --- a/plugins/gtkpref/gtkpref.c +++ b/plugins/gtkpref/gtkpref.c @@ -24,7 +24,7 @@ #include "hexchat-plugin.h" -static xchat_plugin *ph; /* plugin handle */ +static hexchat_plugin *ph; /* plugin handle */ static void launch_tool () @@ -38,7 +38,7 @@ launch_tool () if (!CreateProcess ( NULL, "gtk2-prefs.exe", NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)) { - xchat_print (ph, "Error launching the GTK+ Preference Tool! Maybe the executable is missing?"); + hexchat_print (ph, "Error launching the GTK+ Preference Tool! Maybe the executable is missing?"); } CloseHandle (pi.hProcess); @@ -46,7 +46,7 @@ launch_tool () } int -xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg) +hexchat_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg) { ph = plugin_handle; @@ -54,16 +54,16 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi *plugin_desc = "GTK+ Preference Tool Launcher"; *plugin_version = "1.0"; - xchat_hook_command (ph, "GTKPREF", HEXCHAT_PRI_NORM, launch_tool, 0, 0); - xchat_command (ph, "MENU -ietc\\gtkpref.png ADD \"Settings/GTK+ Preferences\" \"GTKPREF\""); + hexchat_hook_command (ph, "GTKPREF", HEXCHAT_PRI_NORM, launch_tool, 0, 0); + hexchat_command (ph, "MENU -ietc\\gtkpref.png ADD \"Settings/GTK+ Preferences\" \"GTKPREF\""); return 1; /* return 1 for success */ } int -xchat_plugin_deinit (void) +hexchat_plugin_deinit (void) { - xchat_command (ph, "MENU DEL \"Settings/GTK+ Preferences\""); + hexchat_command (ph, "MENU DEL \"Settings/GTK+ Preferences\""); return 1; } diff --git a/plugins/gtkpref/makefile.mak b/plugins/gtkpref/makefile.mak index e2292365..a5578483 100644 --- a/plugins/gtkpref/makefile.mak +++ b/plugins/gtkpref/makefile.mak @@ -5,8 +5,8 @@ all: gtkpref.obj gtkpref.def gtkpref.def: echo EXPORTS > gtkpref.def - echo xchat_plugin_init >> gtkpref.def - echo xchat_plugin_deinit >> gtkpref.def + echo hexchat_plugin_init >> gtkpref.def + echo hexchat_plugin_deinit >> gtkpref.def gtkpref.obj: gtkpref.c makefile.mak cl $(CFLAGS) $(GLIB) /I.. gtkpref.c |