diff options
author | Benjamin Otte <otte@redhat.com> | 2010-07-20 02:25:09 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-08-10 21:02:28 +0200 |
commit | 3fc31e88b03915fbc3f6b8b3554e14a3610c4200 (patch) | |
tree | f20429a264b0de5cbddda0de1a2c6ae640b32080 /gdk/gdkscreen.c | |
parent | db5fc43759fd9cafcd9df26ee57bd9a9a05aab7e (diff) | |
download | gtk+-3fc31e88b03915fbc3f6b8b3554e14a3610c4200.tar.gz |
gdk: Remove _gdk_drawable_get_scratch_gc()
The function is unused now.
Diffstat (limited to 'gdk/gdkscreen.c')
-rw-r--r-- | gdk/gdkscreen.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c index c403a41dc2..174c0d58c9 100644 --- a/gdk/gdkscreen.c +++ b/gdk/gdkscreen.c @@ -163,16 +163,10 @@ gdk_screen_dispose (GObject *object) for (i = 0; i < 32; ++i) { - if (screen->exposure_gcs[i]) + if (screen->subwindow_gcs[i]) { - g_object_unref (screen->exposure_gcs[i]); - screen->exposure_gcs[i] = NULL; - } - - if (screen->normal_gcs[i]) - { - g_object_unref (screen->normal_gcs[i]); - screen->normal_gcs[i] = NULL; + g_object_unref (screen->subwindow_gcs[i]); + screen->subwindow_gcs[i] = NULL; } } |