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/widgets/desktop-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/widgets/desktop-widget.cpp')
| -rw-r--r-- | src/widgets/desktop-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 028138a10..52008625a 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -281,7 +281,7 @@ GType SPDesktopWidget::getType(void) static void sp_desktop_widget_class_init (SPDesktopWidgetClass *klass) { - dtw_parent_class = (SPViewWidgetClass*)gtk_type_class (SP_TYPE_VIEW_WIDGET); + dtw_parent_class = (SPViewWidgetClass*)g_type_class_peek_parent (klass); GtkObjectClass *object_class = (GtkObjectClass *) klass; GtkWidgetClass *widget_class = (GtkWidgetClass *) klass; |
