Mercurial > pidgin.yaz
diff src/gtkstatusbox.c @ 12320:c2867c4ddcd3
[gaim-migrate @ 14624]
Fix the "Gtk: gtk_scrolled_window_add(): cannot add non scrollable widget
use gtk_scrolled_window_add_with_viewport() instead" debug message.
Amazingly, the fix is to do what the message suggested!
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 04 Dec 2005 18:12:19 +0000 |
parents | b3385115815c |
children | 24c5fbfca306 |
line wrap: on
line diff
--- a/src/gtkstatusbox.c Sun Dec 04 17:54:43 2005 +0000 +++ b/src/gtkstatusbox.c Sun Dec 04 18:12:19 2005 +0000 @@ -615,7 +615,7 @@ status_box->sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(status_box->sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(status_box->sw), GTK_SHADOW_IN); - gtk_container_add(GTK_CONTAINER(status_box->sw), vbox); + gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(status_box->sw), vbox); gtk_box_pack_start(GTK_BOX(vbox), status_box->toolbar, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), status_box->hsep, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), status_box->imhtml, TRUE, TRUE, 0);