diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2011-07-03 10:43:53 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2011-07-03 10:43:53 +0000 |
| commit | 32cbae2ea15712efd9a36f43f7690268c1767e52 (patch) | |
| tree | f4fe8e69326aa99f96e9996b6656a3cc985e897d /src/ui/view/view-widget.cpp | |
| parent | Adding extension submitted by Karlisson (launchpad id: karlisson) that conver... (diff) | |
| download | inkscape-32cbae2ea15712efd9a36f43f7690268c1767e52.tar.gz inkscape-32cbae2ea15712efd9a36f43f7690268c1767e52.zip | |
GTK+ cleanup: gtk_type_class
(bzr r10407)
Diffstat (limited to 'src/ui/view/view-widget.cpp')
| -rw-r--r-- | src/ui/view/view-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/view/view-widget.cpp b/src/ui/view/view-widget.cpp index f87bc8edd..d43877569 100644 --- a/src/ui/view/view-widget.cpp +++ b/src/ui/view/view-widget.cpp @@ -54,7 +54,7 @@ static void sp_view_widget_class_init(SPViewWidgetClass *vwc) { GtkObjectClass *object_class = GTK_OBJECT_CLASS(vwc); - widget_parent_class = (GtkEventBoxClass*) gtk_type_class(GTK_TYPE_EVENT_BOX); + widget_parent_class = (GtkEventBoxClass*) g_type_class_peek_parent(vwc); object_class->destroy = sp_view_widget_destroy; } |
