/pidgin/main: 97f98eebab48: A few small tweaks in gtkconv

Ankit Vani a at nevitus.org
Mon Dec 30 04:07:02 EST 2013


Changeset: 97f98eebab483d29ec55a75c5f5fe4b315d78498
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-12-30 13:18 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/97f98eebab48

Description:

A few small tweaks in gtkconv

diffstat:

 pidgin/gtkconv.c |  4 ++--
 pidgin/gtkconv.h |  2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (33 lines):

diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -4401,7 +4401,7 @@ tab_complete_process_item(int *most_matc
 
 		while (purple_utf8_strcasecmp(tmp, *partial)) {
 			(*partial)[*most_matched] = '\0';
-			if (*most_matched < strlen(tmp))
+			if (*most_matched < (goffset)strlen(tmp))
 				tmp[*most_matched] = '\0';
 			(*most_matched)--;
 		}
@@ -5215,7 +5215,7 @@ pidgin_conv_setup_quickfind(PidginConver
 	gtkconv->quickfind_container = widget;
 
 	/* Hook to signals and stuff */
-	g_signal_connect(G_OBJECT(entry), "key_press_event",
+	g_signal_connect(G_OBJECT(entry), "key-press-event",
 			G_CALLBACK(quickfind_process_input), gtkconv);
 	g_signal_connect_swapped(G_OBJECT(close), "button-press-event",
 			G_CALLBACK(pidgin_conv_end_quickfind), gtkconv);
diff --git a/pidgin/gtkconv.h b/pidgin/gtkconv.h
--- a/pidgin/gtkconv.h
+++ b/pidgin/gtkconv.h
@@ -91,8 +91,6 @@ struct _PidginConversation
 
 	gboolean make_sound;
 
-	gpointer depr2;
-
 	GtkWidget *tab_cont;
 	GtkWidget *tabby;
 	GtkWidget *menu_tabby;



More information about the Commits mailing list