summaryrefslogtreecommitdiffstats
path: root/src/widgets/sp-attribute-widget.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-07-03 10:43:53 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-07-03 10:43:53 +0000
commit32cbae2ea15712efd9a36f43f7690268c1767e52 (patch)
treef4fe8e69326aa99f96e9996b6656a3cc985e897d /src/widgets/sp-attribute-widget.cpp
parentAdding extension submitted by Karlisson (launchpad id: karlisson) that conver... (diff)
downloadinkscape-32cbae2ea15712efd9a36f43f7690268c1767e52.tar.gz
inkscape-32cbae2ea15712efd9a36f43f7690268c1767e52.zip
GTK+ cleanup: gtk_type_class
(bzr r10407)
Diffstat (limited to 'src/widgets/sp-attribute-widget.cpp')
-rw-r--r--src/widgets/sp-attribute-widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/sp-attribute-widget.cpp b/src/widgets/sp-attribute-widget.cpp
index 494a9997b..f7cd308b2 100644
--- a/src/widgets/sp-attribute-widget.cpp
+++ b/src/widgets/sp-attribute-widget.cpp
@@ -72,7 +72,7 @@ sp_attribute_widget_class_init (SPAttributeWidgetClass *klass)
object_class = GTK_OBJECT_CLASS (klass);
editable_class = GTK_EDITABLE_CLASS (klass);
- parent_class = (GtkEntryClass*)gtk_type_class (GTK_TYPE_ENTRY);
+ parent_class = (GtkEntryClass*)g_type_class_peek_parent (klass);
object_class->destroy = sp_attribute_widget_destroy;
@@ -385,7 +385,7 @@ sp_attribute_table_class_init (SPAttributeTableClass *klass)
{
GtkObjectClass *object_class = GTK_OBJECT_CLASS (klass);
- table_parent_class = (GtkVBoxClass*)gtk_type_class (GTK_TYPE_VBOX);
+ table_parent_class = (GtkVBoxClass*)g_type_class_peek_parent (klass);
object_class->destroy = sp_attribute_table_destroy;