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:
committed by
Matthias Clasen
parent
de25ca5ebc
commit
a0ae4d95fd
@@ -1,5 +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)
|
||||
|
||||
* NEWS: Updates
|
||||
|
||||
2006-01-05 Johan Dahlin <jdahlin@async.com.br>
|
||||
|
||||
@@ -1,5 +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)
|
||||
|
||||
* NEWS: Updates
|
||||
|
||||
2006-01-05 Johan Dahlin <jdahlin@async.com.br>
|
||||
|
||||
@@ -464,8 +464,8 @@ 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 (adjustment);
|
||||
gtk_object_sink (GTK_OBJECT (adjustment));
|
||||
|
||||
Reference in New Issue
Block a user