mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-30 19:17:34 +00:00
textbuffer: Remove check for GdkDrawable
This should only have been used for stipple patterns, and those are gone now.
This commit is contained in:
parent
cf6ce6e671
commit
771fa78257
@ -70,10 +70,6 @@ serialize_value (GValue *value)
|
|||||||
|
|
||||||
return g_strdup_printf ("%x:%x:%x", color->red, color->green, color->blue);
|
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
|
else
|
||||||
{
|
{
|
||||||
g_warning ("Type %s is not serializable\n", g_type_name (value->g_type));
|
g_warning ("Type %s is not serializable\n", g_type_name (value->g_type));
|
||||||
|
Loading…
Reference in New Issue
Block a user