# HG changeset patch # User Luke Schierer # Date 1041691290 0 # Node ID 1817f5d16e83e8f4e4f065a623d406b4f4a392d3 # Parent 422512cf64882ed3e21731c7c1becb8f9e7e7dfb [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 diff -r 422512cf6488 -r 1817f5d16e83 src/about.c --- 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)); }