[perl-Gtk2] Add a few explanatory comments to XS code



commit bf9505ebb8e12d4ed9eb67fa19eb40227b7d28df
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Thu Apr 22 23:38:30 2010 +0200

    Add a few explanatory comments to XS code

 xs/GdkDrawable.xs      |    2 ++
 xs/GdkX11.xs           |    2 ++
 xs/GtkPrintSettings.xs |    3 +++
 xs/GtkTreeSelection.xs |    3 +++
 4 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/xs/GdkDrawable.xs b/xs/GdkDrawable.xs
index afd418a..a79cd12 100644
--- a/xs/GdkDrawable.xs
+++ b/xs/GdkDrawable.xs
@@ -277,6 +277,8 @@ gdk_draw_pixbuf (drawable, gc, pixbuf, src_x, src_y, dest_x, dest_y, width, heig
 ##	gint y
 ##	PangoGlyphString *glyphs
 
+ # FIXME: gdk_draw_glyphs_transformed
+
  ## void gdk_draw_layout_line (GdkDrawable *drawable, GdkGC *gc, gint x, gint y, PangoLayoutLine *line)
 void
 gdk_draw_layout_line (drawable, gc, x, y, line)
diff --git a/xs/GdkX11.xs b/xs/GdkX11.xs
index 58ceded..2427c52 100644
--- a/xs/GdkX11.xs
+++ b/xs/GdkX11.xs
@@ -130,6 +130,8 @@ guint32 gdk_x11_display_get_user_time (GdkDisplay *display);
 
 #if GTK_CHECK_VERSION (2, 12, 0)
 
+# FIXME: gdk_x11_display_broadcast_startup_message
+
 const gchar *gdk_x11_display_get_startup_notification_id (GdkDisplay *display);
 
 #endif
diff --git a/xs/GtkPrintSettings.xs b/xs/GtkPrintSettings.xs
index 59d32fe..299c4a2 100644
--- a/xs/GtkPrintSettings.xs
+++ b/xs/GtkPrintSettings.xs
@@ -121,6 +121,9 @@ gtk_print_settings_load_key_file (GtkPrintSettings *settings, GKeyFile *key_file
 
 #endif /* 2.14 */
 
+# We do not wrap the convenience getters and setters intentionally, but these
+# few slipped in accidentally:
+
 #if GTK_CHECK_VERSION (2, 16, 0)
 
 gdouble gtk_print_settings_get_printer_lpi (GtkPrintSettings *settings);
diff --git a/xs/GtkTreeSelection.xs b/xs/GtkTreeSelection.xs
index 5e3b9a8..449906e 100644
--- a/xs/GtkTreeSelection.xs
+++ b/xs/GtkTreeSelection.xs
@@ -300,3 +300,6 @@ gtk_tree_selection_unselect_range (selection, start_path, end_path)
 	GtkTreePath *end_path
 
 #endif /* >= 2.2.0 */
+
+# gtk_tree_selection_get_select_function is unbindable since it returns a bare
+# function pointer



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