/pidgin/main: 134f3e8c5c6c: Remove GtkImHtml dependency from bud...
Tomasz Wasilczyk
twasilczyk at pidgin.im
Fri Jan 31 07:11:18 EST 2014
Changeset: 134f3e8c5c6cdadfc2f2189b580c6720f78c1538
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-01-31 13:11 +0100
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/134f3e8c5c6c
Description:
Remove GtkImHtml dependency from buddy list
diffstat:
pidgin/gtkblist.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diffs (36 lines):
diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c
--- a/pidgin/gtkblist.c
+++ b/pidgin/gtkblist.c
@@ -50,7 +50,6 @@
#include "gtkdebug.h"
#include "gtkdialogs.h"
#include "gtkxfer.h"
-#include "gtkimhtml.h"
#include "gtklog.h"
#include "gtkmenutray.h"
#include "gtkpounce.h"
@@ -5042,24 +5041,9 @@ account_status_changed(PurpleAccount *ac
static gboolean
gtk_blist_window_key_press_cb(GtkWidget *w, GdkEventKey *event, PidginBuddyList *gtkblist)
{
- GtkWidget *widget;
-
- if (!gtkblist)
- return FALSE;
-
/* clear any tooltips */
pidgin_blist_tooltip_destroy();
- widget = gtk_window_get_focus(GTK_WINDOW(gtkblist->window));
-
- if (GTK_IS_IMHTML(widget) || GTK_IS_ENTRY(widget)) {
-#if GTK_CHECK_VERSION(3,0,0)
- if (gtk_bindings_activate(G_OBJECT(widget), event->keyval, event->state))
-#else
- if (gtk_bindings_activate(GTK_OBJECT(widget), event->keyval, event->state))
-#endif
- return TRUE;
- }
return FALSE;
}
More information about the Commits
mailing list