Mercurial > pidgin
changeset 5114:e245e686f62f
[gaim-migrate @ 5477]
Amended patch from Justin Hench (thanks):
- Removed the linefeeds from Makefile.mingw and plugins/Makefile.mingw
- history plugin now building for win32
- Fixed the win32 drag convo tab to new window bug.
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Sat, 12 Apr 2003 00:19:50 +0000 |
parents | bac62d8d386f |
children | 5ec912df7a18 |
files | plugins/history.c src/gtkconv.c |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/history.c Sat Apr 12 00:10:45 2003 +0000 +++ b/plugins/history.c Sat Apr 12 00:19:50 2003 +0000 @@ -62,7 +62,7 @@ g_free(path); } -char *gaim_plugin_init(GModule *h) { +G_MODULE_EXPORT char *gaim_plugin_init(GModule *h) { handle = h; gaim_signal_connect(handle, event_new_conversation, historize, NULL); @@ -71,7 +71,7 @@ } struct gaim_plugin_description desc; -struct gaim_plugin_description *gaim_plugin_desc() { +G_MODULE_EXPORT struct gaim_plugin_description *gaim_plugin_desc() { desc.api_version = PLUGIN_API_VERSION; desc.name = g_strdup(_("History")); desc.version = g_strdup(VERSION);
--- a/src/gtkconv.c Sat Apr 12 00:10:45 2003 +0000 +++ b/src/gtkconv.c Sat Apr 12 00:19:50 2003 +0000 @@ -1328,8 +1328,11 @@ /* Grab the pointer */ gtk_grab_add(gtkwin->notebook); - +#ifndef _WIN32 + /* Currently for win32 GTK+ (as of 2.2.1), gdk_pointer_is_grabbed will + always be true after a button press. */ if (!gdk_pointer_is_grabbed()) +#endif gdk_pointer_grab(gtkwin->notebook->window, FALSE, GDK_BUTTON1_MOTION_MASK | GDK_BUTTON_RELEASE_MASK, NULL, cursor, GDK_CURRENT_TIME);