Replace uses of gtk_object_new by g_object_new.

2003-03-01  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
	(gtk_scrolled_window_set_hadjustment): Replace uses of
	gtk_object_new by g_object_new.
This commit is contained in:
Matthias Clasen 2003-02-28 23:48:40 +00:00 committed by Matthias Clasen
parent dd74be94c6
commit 656db08e10
6 changed files with 32 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-03-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
(gtk_scrolled_window_set_hadjustment): Replace uses of
gtk_object_new by g_object_new.
Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org> Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org>
* demos/gtk-demo/main.c * demos/gtk-demo/main.c

View File

@ -1,3 +1,9 @@
2003-03-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
(gtk_scrolled_window_set_hadjustment): Replace uses of
gtk_object_new by g_object_new.
Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org> Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org>
* demos/gtk-demo/main.c * demos/gtk-demo/main.c

View File

@ -1,3 +1,9 @@
2003-03-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
(gtk_scrolled_window_set_hadjustment): Replace uses of
gtk_object_new by g_object_new.
Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org> Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org>
* demos/gtk-demo/main.c * demos/gtk-demo/main.c

View File

@ -1,3 +1,9 @@
2003-03-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
(gtk_scrolled_window_set_hadjustment): Replace uses of
gtk_object_new by g_object_new.
Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org> Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org>
* demos/gtk-demo/main.c * demos/gtk-demo/main.c

View File

@ -1,3 +1,9 @@
2003-03-01 Matthias Clasen <maclas@gmx.de>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment):
(gtk_scrolled_window_set_hadjustment): Replace uses of
gtk_object_new by g_object_new.
Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org> Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org>
* demos/gtk-demo/main.c * demos/gtk-demo/main.c

View File

@ -373,7 +373,7 @@ gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window,
if (hadjustment) if (hadjustment)
g_return_if_fail (GTK_IS_ADJUSTMENT (hadjustment)); g_return_if_fail (GTK_IS_ADJUSTMENT (hadjustment));
else else
hadjustment = (GtkAdjustment*) gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL); hadjustment = (GtkAdjustment*) g_object_new (GTK_TYPE_ADJUSTMENT, NULL);
bin = GTK_BIN (scrolled_window); bin = GTK_BIN (scrolled_window);
@ -427,7 +427,7 @@ gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolled_window,
if (vadjustment) if (vadjustment)
g_return_if_fail (GTK_IS_ADJUSTMENT (vadjustment)); g_return_if_fail (GTK_IS_ADJUSTMENT (vadjustment));
else else
vadjustment = (GtkAdjustment*) gtk_object_new (GTK_TYPE_ADJUSTMENT, NULL); vadjustment = (GtkAdjustment*) g_object_new (GTK_TYPE_ADJUSTMENT, NULL);
bin = GTK_BIN (scrolled_window); bin = GTK_BIN (scrolled_window);