diff options
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; } |
