Patch for DirectFB backend



Hi

this patch makes the DFB backend compile again, could someone please commit? (Mike? :)

thanks

Attilio

Index: gdk/directfb/gdkdisplay-directfb.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/directfb/gdkdisplay-directfb.c,v
retrieving revision 1.1
diff -u -r1.1 gdkdisplay-directfb.c
--- gdk/directfb/gdkdisplay-directfb.c  5 Feb 2006 04:04:28 -0000       1.1
+++ gdk/directfb/gdkdisplay-directfb.c  25 Feb 2006 10:21:22 -0000
@@ -260,18 +260,23 @@

 }

-/**
- * gdk_display_get_default_group:
- * @display: a #GdkDisplay
- *
- * Returns the default group leader window for all toplevel windows
- * on @display. This window is implicitly created by GDK.
- * See gdk_window_set_group().
- *
- * Return value: The default group leader window for @display
- *
- * Since: 2.4
- **/
+
+gboolean
+gdk_display_supports_shapes (GdkDisplay *display)
+{
+       g_warning("gdk_display_supports_shapes Unimplemented function \n");
+       return FALSE;
+}
+
+
+gboolean
+gdk_display_supports_input_shapes (GdkDisplay *display)
+{
+ g_warning("gdk_display_supports_input_shapes Unimplemented function \n");
+       return FALSE;
+}
+
+
 GdkWindow *gdk_display_get_default_group (GdkDisplay *display)
 {
   g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
Index: gdk/directfb/gdkwindow-directfb.c
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/directfb/gdkwindow-directfb.c,v
retrieving revision 1.1
diff -u -r1.1 gdkwindow-directfb.c
--- gdk/directfb/gdkwindow-directfb.c   5 Feb 2006 04:04:28 -0000       1.1
+++ gdk/directfb/gdkwindow-directfb.c   25 Feb 2006 10:21:24 -0000
@@ -1910,6 +1910,21 @@
     }
 }

+void
+gdk_window_input_shape_combine_mask (GdkWindow *window,
+                                    GdkBitmap *mask,
+                                    gint       x,
+                                    gint       y)
+{
+  static gboolean first_call = TRUE;
+
+  if (first_call)
+    {
+      g_message ("unimplemented %s", G_GNUC_FUNCTION);
+      first_call = FALSE;
+    }
+}
+
 void
 gdk_window_shape_combine_region (GdkWindow *window,
                                  GdkRegion *shape_region,
@@ -1925,6 +1940,21 @@
   g_message("unimplemented %s", G_GNUC_FUNCTION);
 }

+void
+gdk_window_input_shape_combine_region (GdkWindow *window,
+                                      GdkRegion *shape_region,
+                                      gint       offset_x,
+                                      gint       offset_y)
+{
+  g_return_if_fail (GDK_IS_WINDOW (window));
+
+  if (GDK_WINDOW_DESTROYED (window))
+    return;
+
+  /* N/A */
+  g_message("unimplemented %s", G_GNUC_FUNCTION);
+}
+
 void
 gdk_window_set_override_redirect (GdkWindow *window,
                                   gboolean   override_redirect)
@@ -2259,6 +2289,30 @@

   /* N/A */
   g_message("unimplemented %s", G_GNUC_FUNCTION);
+}
+
+void
+gdk_window_set_child_input_shapes (GdkWindow *window)
+{
+  g_return_if_fail (GDK_IS_WINDOW (window));
+
+  if (GDK_WINDOW_DESTROYED (window))
+    return;
+
+  /* N/A */
+  g_message("unimplemented %s", G_GNUC_FUNCTION);
+}
+
+void
+gdk_window_merge_child_input_shapes (GdkWindow *window)
+{
+  g_return_if_fail (GDK_IS_WINDOW (window));
+
+  if (GDK_WINDOW_DESTROYED (window))
+    return;
+
+  /* N/A */
+  g_message("unimplemented %s", G_GNUC_FUNCTION);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]