# HG changeset patch # User Herman Bloggs # Date 1050106790 0 # Node ID e245e686f62fe75febed22fa10259e82b1cd2991 # Parent bac62d8d386f5b0a699d283c4a1f42e67a99d1a0 [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 diff -r bac62d8d386f -r e245e686f62f plugins/history.c --- 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); diff -r bac62d8d386f -r e245e686f62f src/gtkconv.c --- 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);