[gtkmm/gtkmm-2-14] Fix the build with GTK+ 2.17.x



commit 3c09c24b00c855dea718504168750cf420ff72b0
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jun 19 14:38:20 2009 +0200

    Fix the build with GTK+ 2.17.x
    
    * gtk/src/gtk_methods.defs: Regenerated with h2defs.py
    * tools/m4/convert_gtk.m4: Add a conversion because a
    gtk_recent_info_get_application_info() parameter's constness has changed

 ChangeLog                |    8 +++
 gtk/src/gtk_methods.defs |  109 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 117 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0014e6e..6ef6ebb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,6 +21,14 @@
 	was not found by GtkBuilder.
 	Bug #589267 (Alexander Shaduri)
 
+2009-06-19  Murray Cumming  <murrayc murrayc com>
+
+	Fix the build with GTK+ 2.17.x
+	
+	* gtk/src/gtk_methods.defs: Regenerated with h2defs.py
+	* tools/m4/convert_gtk.m4: Add a conversion because a 
+	gtk_recent_info_get_application_info() parameter's constness has changed.
+
 2.14.4:
 
 2009-06-19  Murray Cumming  <murrayc murrayc com>
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 0c029cf..a9f63fe 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -13326,6 +13326,115 @@
 
 
 
+;; From gtkinfobar.h
+
+(define-function gtk_info_bar_get_type
+  (c-name "gtk_info_bar_get_type")
+  (return-type "GType")
+)
+
+(define-function gtk_info_bar_new
+  (c-name "gtk_info_bar_new")
+  (is-constructor-of "GtkInfoBar")
+  (return-type "GtkWidget*")
+)
+
+(define-function gtk_info_bar_new_with_buttons
+  (c-name "gtk_info_bar_new_with_buttons")
+  (return-type "GtkWidget*")
+  (parameters
+    '("const-gchar*" "first_button_text")
+  )
+  (varargs #t)
+)
+
+(define-method get_action_area
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_get_action_area")
+  (return-type "GtkWidget*")
+)
+
+(define-method get_content_area
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_get_content_area")
+  (return-type "GtkWidget*")
+)
+
+(define-method add_action_widget
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_add_action_widget")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "child")
+    '("gint" "response_id")
+  )
+)
+
+(define-method add_button
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_add_button")
+  (return-type "GtkWidget*")
+  (parameters
+    '("const-gchar*" "button_text")
+    '("gint" "response_id")
+  )
+)
+
+(define-method add_buttons
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_add_buttons")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "first_button_text")
+  )
+  (varargs #t)
+)
+
+(define-method set_response_sensitive
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_set_response_sensitive")
+  (return-type "none")
+  (parameters
+    '("gint" "response_id")
+    '("gboolean" "setting")
+  )
+)
+
+(define-method set_default_response
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_set_default_response")
+  (return-type "none")
+  (parameters
+    '("gint" "response_id")
+  )
+)
+
+(define-method response
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_response")
+  (return-type "none")
+  (parameters
+    '("gint" "response_id")
+  )
+)
+
+(define-method set_message_type
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_set_message_type")
+  (return-type "none")
+  (parameters
+    '("GtkMessageType" "message_type")
+  )
+)
+
+(define-method get_message_type
+  (of-object "GtkInfoBar")
+  (c-name "gtk_info_bar_get_message_type")
+  (return-type "GtkMessageType")
+)
+
+
+
 ;; From gtkinputdialog.h
 
 (define-function gtk_input_dialog_get_type



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