- inet.c: fix return value of gkrellm_init_inet_monitor(), remove unneded gtk_widget_show() call

This commit is contained in:
Stefan Gehn 2008-09-28 14:03:10 +00:00
parent ed3006988a
commit 937234774e
1 changed files with 1 additions and 3 deletions

View File

@ -2027,8 +2027,6 @@ create_inet_tab(GtkWidget *tab_vbox)
4, 0, TRUE); 4, 0, TRUE);
launch_vbox = gkrellm_gtk_scrolled_vbox(vbox1, NULL, launch_vbox = gkrellm_gtk_scrolled_vbox(vbox1, NULL,
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_widget_show(launch_vbox);
gtk_widget_realize(launch_vbox);
for (i = 0, list = inet_mon_list; list; list = list->next, ++i) for (i = 0, list = inet_mon_list; list; list = list->next, ++i)
{ {
in = (InetMon *) list->data; in = (InetMon *) list->data;
@ -2083,5 +2081,5 @@ gkrellm_init_inet_monitor(void)
inet_data_dir = gkrellm_make_data_file_name("inet", NULL); inet_data_dir = gkrellm_make_data_file_name("inet", NULL);
return &monitor_inet; return &monitor_inet;
} }
return FALSE; return NULL;
} }