Mercurial > pidgin.yaz
changeset 27798:0298bd08da84
now resize_imhtml_cb() returns gboolean
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 17 Mar 2008 06:14:40 +0000 |
parents | acfa3f8727cd |
children | 2fa28896c318 |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Sun Mar 16 19:44:14 2008 +0000 +++ b/pidgin/gtkconv.c Mon Mar 17 06:14:40 2008 +0000 @@ -4433,7 +4433,7 @@ gtk_menu_shell_insert(GTK_MENU_SHELL(menu), menuitem, 1); } -static void resize_imhtml_cb(PidginConversation *gtkconv) +static gboolean resize_imhtml_cb(PidginConversation *gtkconv) { GtkTextBuffer *buffer; GtkTextIter iter; @@ -4469,11 +4469,12 @@ diff = height - gtkconv->entry->allocation.height; if (diff <= 0) - return; + return FALSE; gtk_widget_size_request(gtkconv->lower_hbox, &sr); gtk_widget_set_size_request(gtkconv->lower_hbox, -1, diff + gtkconv->lower_hbox->allocation.height); + return FALSE; } static void