diff options
author | Michael Natterer <mitch@imendio.com> | 2008-08-12 09:06:34 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-08-12 09:06:34 +0000 |
commit | e18d3c6fd3df85e8efb9a24f2f43f73298abb0ad (patch) | |
tree | 196b3ff6553da8294dd1ee0cab427f1fa8eaea7c /gtk/gtkrange.c | |
parent | a862e0dfcd0641ebe0efe561cad451b92aca8305 (diff) | |
download | gtk+-e18d3c6fd3df85e8efb9a24f2f43f73298abb0ad.tar.gz |
consistently chain up using GTK_FOO_CLASS(parent_class)->bar(instance)
2008-08-12 Michael Natterer <mitch@imendio.com>
* gtk/*.c: consistently chain up using
GTK_FOO_CLASS(parent_class)->bar(instance) instead of
(*GTK_FOO_CLASS(parent_class))->bar(instance).
svn path=/trunk/; revision=21085
Diffstat (limited to 'gtk/gtkrange.c')
-rw-r--r-- | gtk/gtkrange.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 6bf507424e..78c28d66ab 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -1193,7 +1193,7 @@ gtk_range_destroy (GtkObject *object) range->adjustment = NULL; } - (* GTK_OBJECT_CLASS (gtk_range_parent_class)->destroy) (object); + GTK_OBJECT_CLASS (gtk_range_parent_class)->destroy (object); } static void @@ -1293,9 +1293,9 @@ gtk_range_unrealize (GtkWidget *widget) gdk_window_set_user_data (range->event_window, NULL); gdk_window_destroy (range->event_window); range->event_window = NULL; - + if (GTK_WIDGET_CLASS (gtk_range_parent_class)->unrealize) - (* GTK_WIDGET_CLASS (gtk_range_parent_class)->unrealize) (widget); + GTK_WIDGET_CLASS (gtk_range_parent_class)->unrealize (widget); } static void @@ -2331,7 +2331,7 @@ gtk_range_style_set (GtkWidget *widget, range->need_recalc = TRUE; - (* GTK_WIDGET_CLASS (gtk_range_parent_class)->style_set) (widget, previous_style); + GTK_WIDGET_CLASS (gtk_range_parent_class)->style_set (widget, previous_style); } static void @@ -2783,7 +2783,7 @@ gtk_range_calc_request (GtkRange *range, border->bottom = 0; if (GTK_RANGE_GET_CLASS (range)->get_range_border) - (* GTK_RANGE_GET_CLASS (range)->get_range_border) (range, border); + GTK_RANGE_GET_CLASS (range)->get_range_border (range, border); n_steppers_ab = 0; n_steppers_cd = 0; |