Update of /cvsroot/gaim/gaim/plugins/docklet
In directory usw-pr-cvs1:/tmp/cvs-serv19551/plugins/docklet
Modified Files:
docklet.c
Log Message:
I reversed the last patch. it stopped gaim from compiling, and while i can easily
see that PLUGIN_API_VERSION isn't defined, i don't know what was up with the illegal
usage of a struct.
Index: docklet.c
===================================================================
RCS file: /cvsroot/gaim/gaim/plugins/docklet/docklet.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- docklet.c 25 Sep 2002 07:22:28 -0000 1.6
+++ docklet.c 25 Sep 2002 14:27:18 -0000 1.7
@@ -331,7 +331,6 @@
gaim_signal_connect(handle, event_signoff, gaim_signoff, NULL);
gaim_signal_connect(handle, event_connecting, gaim_connecting, NULL);
gaim_signal_connect(handle, event_away, gaim_away, NULL);
- gaim_signal_connect(handle, event_im_displayed_rcvd, gaim_im_recv, NULL);
gaim_signal_connect(handle, event_im_recv, gaim_im_recv, NULL);
gaim_signal_connect(handle, event_buddy_signon, gaim_buddy_signon, NULL);
gaim_signal_connect(handle, event_buddy_signoff, gaim_buddy_signoff, NULL);
@@ -379,23 +378,11 @@
debug_printf("Docklet: removed\n");
}
-
-struct gaim_plugin_description desc;
-struct gaim_plugin_description *gaim_plugin_desc() {
- desc.api_version = PLUGIN_API_VERSION;
- desc.name = g_strdup("System Tray Docklet");
- desc.version = g_strdup(VERSION);
- desc.description = g_strdup("Interacts with a System Tray applet (in GNOME or KDE, for example) to display the current status of Gaim, allow fast access to commonly used functions, and to toggle display of the buddy list or login window.");
- desc.authors = g_strdup("Robert McQueen <rob...@de...>");
- desc.url = g_strdup(WEBSITE);
- return &desc;
-}
-
const char *name() {
- return _("System Tray Docklet 2");
+ return _("System Tray Docklet");
}
const char *description() {
- return _(" 22 Interacts with a System Tray applet (in GNOME or KDE, for example) to display the current status of Gaim, allow fast access to commonly used functions, and to toggle display of the buddy list or login window.");
+ return _("Interacts with a System Tray applet (in GNOME or KDE, for example) to display the current status of Gaim, allow fast access to commonly used functions, and to toggle display of the buddy list or login window.");
}
|