changeset 3033:70eb8b174e15

Don't use deprecated gtk_type_class() (missed those two files before)
author Tomasz Mon <desowin@gmail.com>
date Fri, 10 Apr 2009 11:07:00 +0200
parents 6baa6eaf8290
children f7613eafe9f0
files src/skins/ui_svis.c src/skins/ui_vis.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/ui_svis.c	Fri Apr 10 11:02:41 2009 +0200
+++ b/src/skins/ui_svis.c	Fri Apr 10 11:07:00 2009 +0200
@@ -99,7 +99,7 @@
 
     object_class = (GtkObjectClass*) klass;
     widget_class = (GtkWidgetClass*) klass;
-    parent_class = gtk_type_class (gtk_widget_get_type ());
+    parent_class = g_type_class_peek_parent(klass);
 
     object_class->destroy = ui_svis_destroy;
 
--- a/src/skins/ui_vis.c	Fri Apr 10 11:02:41 2009 +0200
+++ b/src/skins/ui_vis.c	Fri Apr 10 11:07:00 2009 +0200
@@ -83,7 +83,7 @@
 
     object_class = (GtkObjectClass*) klass;
     widget_class = (GtkWidgetClass*) klass;
-    parent_class = gtk_type_class (gtk_widget_get_type ());
+    parent_class = g_type_class_peek_parent(klass);
 
     object_class->destroy = ui_vis_destroy;