]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkwindow-decorate.c
directfb: Remove
[~andy/gtk] / gtk / gtkwindow-decorate.c
index 9aa2dd8a538d193a9a67a436566520e40e65e0c1..ea14b5218c13aa84584e9a198c406e7de04cc89a 100644 (file)
@@ -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
 }