diff pidgin/gtkutils.h @ 32454:126420f99f6f

Add a WebView setup function.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 04 Jan 2012 23:56:07 +0000
parents 34f778db624f
children
line wrap: on
line diff
--- a/pidgin/gtkutils.h	Wed Jan 04 09:46:23 2012 +0000
+++ b/pidgin/gtkutils.h	Wed Jan 04 23:56:07 2012 +0000
@@ -107,6 +107,14 @@
 GtkWidget *pidgin_create_imhtml(gboolean editable, GtkWidget **imhtml_ret, GtkWidget **toolbar_ret, GtkWidget **sw_ret);
 
 /**
+ * Sets up a gtkwebview widget, loads it with smileys, and sets the
+ * default signal handlers.
+ *
+ * @param webview The gtkwebview widget to setup.
+ */
+void pidgin_setup_webview(GtkWidget *webview);
+
+/**
  * Create an GtkWebView widget and associated GtkIMHtmlToolbar widget.  This
  * function puts both widgets in a nice GtkFrame.  They're separated by an
  * attractive GtkSeparator.