Mercurial > pidgin
changeset 4197:1817f5d16e83
[gaim-migrate @ 4428]
Ari Pollak (sourceo) writes:
"This fixes a compile warning in about.c, cleans up a
deprecated call to gtk_widget_set_usize, adds a border
around the text, and removes an unneeded call to
gtk_widget_show(), since according to the
gtk_window_present() docs:
If window is hidden, this function calls
gtk_widget_show() as well.
Also, it's pointless to call gtk_widget_show on an
already unhidden widget."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 04 Jan 2003 14:41:30 +0000 |
parents | 422512cf6488 |
children | c46c977cfc9e |
files | src/about.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/about.c Sat Jan 04 14:37:33 2003 +0000 +++ b/src/about.c Sat Jan 04 14:41:30 2003 +0000 @@ -99,11 +99,12 @@ sw = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN); gtk_box_pack_start(GTK_BOX(fbox), sw, TRUE, TRUE, 0); text = gtk_imhtml_new(NULL, NULL); gtk_container_add(GTK_CONTAINER(sw), text); - gtk_widget_set_usize(sw, -1, 350); + gtk_widget_set_size_request(sw, -1, 350); gaim_setup_imhtml(text); @@ -187,6 +188,5 @@ } /* Let's give'em something to talk about -- woah woah woah */ - gtk_widget_show(about); gtk_window_present(GTK_WINDOW(about)); }