- inet.c: fix return value of gkrellm_init_inet_monitor(), remove unneded gtk_widget_show() call
This commit is contained in:
parent
ed3006988a
commit
937234774e
|
@ -2027,8 +2027,6 @@ create_inet_tab(GtkWidget *tab_vbox)
|
|||
4, 0, TRUE);
|
||||
launch_vbox = gkrellm_gtk_scrolled_vbox(vbox1, NULL,
|
||||
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)
|
||||
{
|
||||
in = (InetMon *) list->data;
|
||||
|
@ -2083,5 +2081,5 @@ gkrellm_init_inet_monitor(void)
|
|||
inet_data_dir = gkrellm_make_data_file_name("inet", NULL);
|
||||
return &monitor_inet;
|
||||
}
|
||||
return FALSE;
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue