More warning-fixes.
- From: Kjartan Maraas <kmaraas fib hl no>
- To: "gnome-list gnome org" <gnome-list gnome org>
- Subject: More warning-fixes.
- Date: Tue, 05 May 1998 16:45:37 +0000
These two patches fixes some warnings in gnome-admin/logview
Ok to commit?
Cheers
Kjartan
--- logview.c Fri May 1 13:33:08 1998
+++ logview.c.new Tue May 5 18:23:41 1998
@@ -464,7 +464,7 @@
gtk_signal_connect (GTK_OBJECT (adj), "value_changed",
(GtkSignalFunc) MainWinScrolled,
(gpointer) main_win_scrollbar);
- gtk_adjustment_set_value (adj, curlog->ln);
+ gtk_adjustment_set_value (GTK_ADJUSTMENT(adj), curlog->ln);
gtk_widget_realize (main_win_scrollbar);
}
--- monitor.c Tue May 5 18:35:29 1998
+++ monitor.c.new Tue May 5 18:33:59 1998
@@ -446,7 +446,7 @@
gtk_clist_set_column_justification (clist, 0, GTK_JUSTIFY_LEFT);
gtk_widget_set_style (GTK_WIDGET (clist), cfg->main_style);
loglist[i]->mon_lines = (GtkCList *) clist;
- gtk_container_add (GTK_CONTAINER (frame), clist);
+ gtk_container_add (GTK_CONTAINER (frame), GTK_WIDGET (clist));
gtk_widget_show (GTK_WIDGET (clist));
mon_read_last_page (loglist[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]