summaryrefslogtreecommitdiff
path: root/gdk/quartz/gdkgc-quartz.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/quartz/gdkgc-quartz.c')
-rw-r--r--gdk/quartz/gdkgc-quartz.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdk/quartz/gdkgc-quartz.c b/gdk/quartz/gdkgc-quartz.c
index 9cddd74d36..552bf5f496 100644
--- a/gdk/quartz/gdkgc-quartz.c
+++ b/gdk/quartz/gdkgc-quartz.c
@@ -36,8 +36,6 @@ gdk_quartz_gc_get_values (GdkGC *gc,
values->foreground.pixel = _gdk_gc_get_fg_pixel (gc);
values->background.pixel = _gdk_gc_get_bg_pixel (gc);
- values->font = private->font;
-
values->function = private->function;
values->fill = _gdk_gc_get_fill (gc);
@@ -130,11 +128,6 @@ gdk_quartz_gc_set_values (GdkGC *gc,
{
GdkGCQuartz *private = GDK_GC_QUARTZ (gc);
- if (mask & GDK_GC_FONT)
- {
- /* FIXME: implement font */
- }
-
if (mask & GDK_GC_FUNCTION)
private->function = values->function;
@@ -302,12 +295,6 @@ _gdk_windowing_gc_copy (GdkGC *dst_gc,
GdkGCQuartz *dst_quartz_gc = GDK_GC_QUARTZ (dst_gc);
GdkGCQuartz *src_quartz_gc = GDK_GC_QUARTZ (src_gc);
- if (dst_quartz_gc->font)
- gdk_font_unref (dst_quartz_gc->font);
- dst_quartz_gc->font = src_quartz_gc->font;
- if (dst_quartz_gc->font)
- gdk_font_ref (dst_quartz_gc->font);
-
dst_quartz_gc->function = src_quartz_gc->function;
dst_quartz_gc->subwindow_mode = src_quartz_gc->subwindow_mode;
dst_quartz_gc->graphics_exposures = src_quartz_gc->graphics_exposures;