summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow-decorate.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-23 12:44:58 +0200
committerBenjamin Otte <otte@redhat.com>2010-08-23 12:44:58 +0200
commit8856bfc60e23f633fbd3908c43757c627f56b722 (patch)
tree3b4ba669bca2377575c3081336d0b12f25f9c762 /gtk/gtkwindow-decorate.c
parent7eabb8fd3ce8ee171657188d4b66e28fb9764ecc (diff)
downloadgtk+-8856bfc60e23f633fbd3908c43757c627f56b722.tar.gz
directfb: Remove
As announced by email and on IRC, this backend is removed from GTK 3. It has been broken for over a year with no one fixing it.
Diffstat (limited to 'gtk/gtkwindow-decorate.c')
-rw-r--r--gtk/gtkwindow-decorate.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gtk/gtkwindow-decorate.c b/gtk/gtkwindow-decorate.c
index 9aa2dd8a53..ea14b5218c 100644
--- a/gtk/gtkwindow-decorate.c
+++ b/gtk/gtkwindow-decorate.c
@@ -278,20 +278,6 @@ gtk_decorated_window_realize (GtkWindow *window)
font_desc = pango_font_description_from_string(DECORATION_TITLE_FONT);
pango_layout_set_font_description (deco->title_layout, font_desc);
pango_font_description_free (font_desc);
-
-#if 0
- /* What is this code exactly doing? I remember we were using the
- decorated windows with the DirectFB port and it did just work,
- and there was definitely no code in linux-fb involved. */
- gdk_fb_window_set_child_handler (window->frame,
- gtk_decorated_window_inner_change,
- gtk_decorated_window_inner_get_pos,
- window);
-
- /* This is a huge hack to make frames have the same shape as
- the window they wrap */
- gdk_window_shape_combine_mask (window->frame, GDK_FB_USE_CHILD_SHAPE, 0, 0);
-#endif
}