index d4eb0114357af7aef1d3ca3091856aa375320939..11d2d528aa022bedc5f38c613a29951377499fe6 100644 (file)
GtkType
sp_gradient_image_get_type (void)
{
+ //TODO: switch to GObject
+ // GtkType and such calls were deprecated a while back with the
+ // introduction of GObject as a separate layer, with GType instead. --JonCruz
+
static GtkType type = 0;
if (!type) {
GtkTypeInfo info = {
- "SPGradientImage",
+ (gchar*) "SPGradientImage",
sizeof (SPGradientImage),
sizeof (SPGradientImageClass),
(GtkClassInitFunc) sp_gradient_image_class_init,
}
static void
-sp_gradient_image_gradient_modified (SPObject *, guint flags, SPGradientImage *image)
+sp_gradient_image_gradient_modified (SPObject *, guint /*flags*/, SPGradientImage *image)
{
sp_gradient_image_update (image);
}