[gtk+] GtkScale: Always chain up in notify
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkScale: Always chain up in notify
- Date: Mon, 16 Jan 2012 23:05:58 +0000 (UTC)
commit 57126ae56b10d120c0711a5a7de3d7169097ae75
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 16 18:05:44 2012 -0500
GtkScale: Always chain up in notify
Pointed out by Stefan Sauer.
gtk/gtkscale.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index fe9f8df..70522a6 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -200,7 +200,8 @@ gtk_scale_notify (GObject *object,
compare_marks,
GINT_TO_POINTER (gtk_range_get_inverted (GTK_RANGE (scale))));
}
- else if (G_OBJECT_CLASS (gtk_scale_parent_class)->notify)
+
+ if (G_OBJECT_CLASS (gtk_scale_parent_class)->notify)
G_OBJECT_CLASS (gtk_scale_parent_class)->notify (object, pspec);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]