diff src/skins/ui_skinned_equalizer_slider.c @ 3032:6baa6eaf8290

Don't use deprecated gtk_type_class()
author Tomasz Mon <desowin@gmail.com>
date Fri, 10 Apr 2009 11:02:41 +0200
parents 963796db51ea
children
line wrap: on
line diff
--- a/src/skins/ui_skinned_equalizer_slider.c	Fri Apr 10 10:42:13 2009 +0200
+++ b/src/skins/ui_skinned_equalizer_slider.c	Fri Apr 10 11:02:41 2009 +0200
@@ -95,7 +95,7 @@
     gobject_class = G_OBJECT_CLASS(klass);
     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_skinned_equalizer_slider_destroy;