[gtk+] textbuffer: Remove check for GdkDrawable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] textbuffer: Remove check for GdkDrawable
- Date: Thu, 2 Dec 2010 19:55:16 +0000 (UTC)
commit 771fa78257d76a9cb973ea45e86a63f101e5d7c0
Author: Benjamin Otte <otte redhat com>
Date: Mon Nov 22 17:56:34 2010 +0100
textbuffer: Remove check for GdkDrawable
This should only have been used for stipple patterns, and those are gone
now.
gtk/gtktextbufferserialize.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtktextbufferserialize.c b/gtk/gtktextbufferserialize.c
index 16a36d3..526e951 100644
--- a/gtk/gtktextbufferserialize.c
+++ b/gtk/gtktextbufferserialize.c
@@ -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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]