# HG changeset patch # User Luke Schierer # Date 1032964038 0 # Node ID e9b2003ee5623aef9b48679aa60112df36538976 # Parent face765b6a9d315ba854c2088f00611e891d31d1 [gaim-migrate @ 3625] 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. committer: Tailor Script diff -r face765b6a9d -r e9b2003ee562 plugins/docklet/docklet.c --- a/plugins/docklet/docklet.c Wed Sep 25 13:19:44 2002 +0000 +++ b/plugins/docklet/docklet.c Wed Sep 25 14:27:18 2002 +0000 @@ -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 <robot101@debian.org>"); - 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."); }