mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Fix warnings from calling g_object_notify() on a GtkAccelGroup without
* gtk/gtkaccelgroup.c: Fix warnings from calling g_object_notify() on a GtkAccelGroup without casting to a GObject. svn path=/trunk/; revision=20652
This commit is contained in:
parent
755a662ff2
commit
c8322b8c0e
@ -1,3 +1,9 @@
|
||||
2008-06-20 Martyn Russell <martyn@imendio.com>
|
||||
|
||||
* gtk/gtkaccelgroup.c: Fix warnings from calling
|
||||
g_object_notify() on a GtkAccelGroup without casting to a
|
||||
GObject.
|
||||
|
||||
2008-06-20 Johan Dahlin <jdahlin@async.com.br>
|
||||
|
||||
* gtk/gtkcolorsel.c: Modernize and order things as most
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user