forked from AuroraMiddleware/gtk
Disconnect from the old adjustments signals. (#325869, Jorn Baayen)
2006-01-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkviewport.c (viewport_set_adjustment): Disconnect from the old adjustments signals. (#325869, Jorn Baayen)
This commit is contained in:
parent
b546df99ea
commit
d08217457f
@ -1,3 +1,8 @@
|
||||
2006-01-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (viewport_set_adjustment): Disconnect from
|
||||
the old adjustments signals. (#325869, Jorn Baayen)
|
||||
|
||||
2006-01-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* tests/makefile.msc : added a bunch of tests
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-01-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkviewport.c (viewport_set_adjustment): Disconnect from
|
||||
the old adjustments signals. (#325869, Jorn Baayen)
|
||||
|
||||
2006-01-06 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* tests/makefile.msc : added a bunch of tests
|
||||
|
@ -464,8 +464,7 @@ viewport_set_adjustment (GtkViewport *viewport,
|
||||
if (!adjustment)
|
||||
adjustment = GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.0, 0.0,
|
||||
0.0, 0.0, 0.0));
|
||||
if (*adjustmentp)
|
||||
g_object_unref (*adjustmentp);
|
||||
viewport_disconnect_adjustment (viewport, orientation);
|
||||
*adjustmentp = adjustment;
|
||||
g_object_ref_sink (adjustment);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user