[perl-Gtk2] Wrap gtk_widget_is_composited



commit 82283c51c6400d317c0279a887e354a3e79d405d
Author: Quentin Sculo <squentin free fr>
Date:   Thu May 13 22:19:30 2010 +0200

    Wrap gtk_widget_is_composited

 t/GtkWidget.t   |    2 ++
 xs/GtkWidget.xs |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/t/GtkWidget.t b/t/GtkWidget.t
index bda6de2..e71ab5e 100644
--- a/t/GtkWidget.t
+++ b/t/GtkWidget.t
@@ -417,6 +417,8 @@ SKIP: {
 
 	$widget->input_shape_combine_mask ($bitmap, 23, 42);
 	$widget->input_shape_combine_mask (undef, 0, 0);
+
+	$widget->is_composited;
 }
 
 SKIP: {
diff --git a/xs/GtkWidget.xs b/xs/GtkWidget.xs
index 0747802..cc99c1f 100644
--- a/xs/GtkWidget.xs
+++ b/xs/GtkWidget.xs
@@ -1205,6 +1205,8 @@ void gtk_widget_remove_mnemonic_label (GtkWidget *widget, GtkWidget *label);
 
 void gtk_widget_input_shape_combine_mask (GtkWidget *widget, GdkBitmap_ornull *shape_mask, gint offset_x, gint offset_y);
 
+gboolean gtk_widget_is_composited (GtkWidget *widget);
+
 #endif /* 2.10 */
 
 #if GTK_CHECK_VERSION(2, 12, 0)



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