textbuffer: Remove check for GdkDrawable

This should only have been used for stipple patterns, and those are gone
now.
This commit is contained in:
Benjamin Otte 2010-11-22 17:56:34 +01:00
parent cf6ce6e671
commit 771fa78257

View File

@ -70,10 +70,6 @@ serialize_value (GValue *value)
return g_strdup_printf ("%x:%x:%x", color->red, color->green, color->blue);
}
else if (g_type_is_a (value->g_type, GDK_TYPE_DRAWABLE))
{
/* Don't do anything */
}
else
{
g_warning ("Type %s is not serializable\n", g_type_name (value->g_type));