diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-06-24 23:40:06 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-06-28 23:38:03 +0200 |
commit | c3987f9ee2cf0ee2277c31e711755257f62c46db (patch) | |
tree | c049ff93656d0739d2a1ad8aeb5d4a62fbfb3a66 /gdk/directfb | |
parent | 418d84f3114548381ca86745d54fad2d7be8cc98 (diff) | |
download | gtk+-c3987f9ee2cf0ee2277c31e711755257f62c46db.tar.gz |
[GdkGC] Remove deprecated GdkFont from GdkGCValues structure
Diffstat (limited to 'gdk/directfb')
-rw-r--r-- | gdk/directfb/gdkgc-directfb.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdk/directfb/gdkgc-directfb.c b/gdk/directfb/gdkgc-directfb.c index 202c27c5f1..e8cb617472 100644 --- a/gdk/directfb/gdkgc-directfb.c +++ b/gdk/directfb/gdkgc-directfb.c @@ -41,7 +41,6 @@ #include "gdkprivate-directfb.h" #include "gdkgc.h" -#include "gdkfont.h" #include "gdkpixmap.h" #include "gdkregion-generic.h" @@ -173,17 +172,6 @@ gdk_directfb_gc_set_values (GdkGC *gc, private->values_mask |= GDK_GC_BACKGROUND; } - if (values_mask & GDK_GC_FONT) - { - GdkFont *oldf = private->values.font; - - private->values.font = gdk_font_ref (values->font); - private->values_mask |= GDK_GC_FONT; - - if (oldf) - gdk_font_unref (oldf); - } - if (values_mask & GDK_GC_FUNCTION) { private->values.function = values->function; @@ -366,8 +354,6 @@ _gdk_windowing_gc_copy (GdkGC *dst_gc, temp_region_reset(&dst_private->clip_region); - if (dst_private->values_mask & GDK_GC_FONT) - gdk_font_unref (dst_private->values.font); if (dst_private->values_mask & GDK_GC_TILE) g_object_unref (dst_private->values.tile); if (dst_private->values_mask & GDK_GC_STIPPLE) @@ -376,8 +362,6 @@ _gdk_windowing_gc_copy (GdkGC *dst_gc, g_object_unref (dst_private->values.clip_mask); *dst_gc = *src_gc; - if (dst_private->values_mask & GDK_GC_FONT) - gdk_font_ref (dst_private->values.font); if (dst_private->values_mask & GDK_GC_TILE) g_object_ref (dst_private->values.tile); if (dst_private->values_mask & GDK_GC_STIPPLE) |