comparison pidgin/plugins/adiumthemes/webkit.c @ 32530:582ecea2347e

don't restore write-conv uiops.
author tdrhq@soc.pidgin.im
date Sun, 09 Aug 2009 19:03:38 +0000
parents 50a38bbca397
children 849e74b579e4
comparison
equal deleted inserted replaced
32529:50a38bbca397 32530:582ecea2347e
45 #include <gtkplugin.h> 45 #include <gtkplugin.h>
46 #include <smileyparser.h> 46 #include <smileyparser.h>
47 47
48 static PurpleConversationUiOps *uiops = NULL; 48 static PurpleConversationUiOps *uiops = NULL;
49 49
50 static void (*default_write_conv)(PurpleConversation *conv, const char *name, const char *alias,
51 const char *message, PurpleMessageFlags flags, time_t mtime);
52 static void (*default_create_conversation)(PurpleConversation *conv); 50 static void (*default_create_conversation)(PurpleConversation *conv);
53 51
54 static void (*default_destroy_conversation)(PurpleConversation *conv); 52 static void (*default_destroy_conversation)(PurpleConversation *conv);
55 53
56 /* Cache the contents of the HTML files */ 54 /* Cache the contents of the HTML files */
590 plugin_unload(PurplePlugin *plugin) 588 plugin_unload(PurplePlugin *plugin)
591 { 589 {
592 GList *list; 590 GList *list;
593 591
594 /* Restore the default ui-ops */ 592 /* Restore the default ui-ops */
595 uiops->write_conv = default_write_conv;
596 uiops->create_conversation = default_create_conversation; 593 uiops->create_conversation = default_create_conversation;
597 uiops->destroy_conversation = default_destroy_conversation; 594 uiops->destroy_conversation = default_destroy_conversation;
598 595
599 webkit_plugin_free_handle (); 596 webkit_plugin_free_handle ();
600 597