summaryrefslogtreecommitdiff
path: root/gtk/gtkviewport.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-08-12 09:06:34 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-08-12 09:06:34 +0000
commite18d3c6fd3df85e8efb9a24f2f43f73298abb0ad (patch)
tree196b3ff6553da8294dd1ee0cab427f1fa8eaea7c /gtk/gtkviewport.c
parenta862e0dfcd0641ebe0efe561cad451b92aca8305 (diff)
downloadgtk+-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/gtkviewport.c')
-rw-r--r--gtk/gtkviewport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c
index 8b20c58adc..72605499af 100644
--- a/gtk/gtkviewport.c
+++ b/gtk/gtkviewport.c
@@ -638,7 +638,7 @@ gtk_viewport_unrealize (GtkWidget *widget)
viewport->bin_window = NULL;
if (GTK_WIDGET_CLASS (gtk_viewport_parent_class)->unrealize)
- (* GTK_WIDGET_CLASS (gtk_viewport_parent_class)->unrealize) (widget);
+ GTK_WIDGET_CLASS (gtk_viewport_parent_class)->unrealize (widget);
}
static void
@@ -674,8 +674,8 @@ gtk_viewport_expose (GtkWidget *widget,
GTK_STATE_NORMAL, GTK_SHADOW_NONE,
&event->area, widget, "viewportbin",
0, 0, -1, -1);
-
- (* GTK_WIDGET_CLASS (gtk_viewport_parent_class)->expose_event) (widget, event);
+
+ GTK_WIDGET_CLASS (gtk_viewport_parent_class)->expose_event (widget, event);
}
}