pidgin: 7e56c93b: Emit the allowed-formats-updated signal ...
qulogic at pidgin.im
qulogic at pidgin.im
Thu Jan 5 23:01:12 EST 2012
----------------------------------------------------------------------
Revision: 7e56c93b4e4d5dc369b8e8e17d18c2799de4b5b9
Parent: 67b28e53ba4214063346ec807dddbcb80089b5d9
Author: qulogic at pidgin.im
Date: 01/05/12 01:11:04
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/7e56c93b4e4d5dc369b8e8e17d18c2799de4b5b9
Changelog:
Emit the allowed-formats-updated signal when the set_format_functions
function is called.
Changes against parent 67b28e53ba4214063346ec807dddbcb80089b5d9
patched pidgin/gtkwebview.c
-------------- next part --------------
============================================================
--- pidgin/gtkwebview.c 1936e448c00a23c2b901e3a693448da473df1c3c
+++ pidgin/gtkwebview.c 56905ee3be157c4fa04bd28d47d4e24e304cd9d7
@@ -756,7 +756,10 @@ gtk_webview_set_format_functions(GtkWebV
gtk_webview_set_format_functions(GtkWebView *webview, GtkWebViewButtons buttons)
{
GtkWebViewPriv *priv = GTK_WEBVIEW_GET_PRIVATE(webview);
+ GObject *object = g_object_ref(G_OBJECT(webview));
priv->format_functions = buttons;
+ g_signal_emit(object, signals[BUTTONS_UPDATE], 0, buttons);
+ g_object_unref(object);
}
GtkWebViewButtons
More information about the Commits
mailing list