diff --git a/ChangeLog b/ChangeLog index 29950b7d0a..a2e94a82d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-06-20 Martyn Russell + + * gtk/gtkaccelgroup.c: Fix warnings from calling + g_object_notify() on a GtkAccelGroup without casting to a + GObject. + 2008-06-20 Johan Dahlin * gtk/gtkcolorsel.c: Modernize and order things as most diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c index fb17d79ff6..8f9f3dc9cd 100644 --- a/gtk/gtkaccelgroup.c +++ b/gtk/gtkaccelgroup.c @@ -394,7 +394,7 @@ gtk_accel_group_lock (GtkAccelGroup *accel_group) if (accel_group->lock_count == 1) { /* State change from unlocked to locked */ - g_object_notify (accel_group, "is-locked"); + g_object_notify (G_OBJECT (accel_group), "is-locked"); } } @@ -414,7 +414,7 @@ gtk_accel_group_unlock (GtkAccelGroup *accel_group) if (accel_group->lock_count < 1) { /* State change from locked to unlocked */ - g_object_notify (accel_group, "is-locked"); + g_object_notify (G_OBJECT (accel_group), "is-locked"); } }