[gtkmm] gtkmm: Regenerated function .defs, fixing the build with latest GTK+.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] gtkmm: Regenerated function .defs, fixing the build with latest GTK+.
- Date: Sat, 4 Sep 2010 11:04:22 +0000 (UTC)
commit d0d91ca280a2c1a2cf47d53a29b7c551170c92c6
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Sep 4 12:43:28 2010 +0200
gtkmm: Regenerated function .defs, fixing the build with latest GTK+.
* gtk/src/gtk_methods.defs: Regenerate with h2defs.py.
* gtk/src/dialog.hg: Remove get/set_has_separator() and property, because
it was removed from GTK+.
ChangeLog | 8 ++++++++
gtk/src/dialog.ccg | 8 +-------
gtk/src/dialog.hg | 7 -------
gtk/src/gtk_methods.defs | 16 ----------------
4 files changed, 9 insertions(+), 30 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 627d947..497a2ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2010-09-04 Murray Cumming <murrayc murrayc com>
+ gtkmm: Regenerated function .defs, fixing the build with latest GTK+.
+
+ * gtk/src/gtk_methods.defs: Regenerate with h2defs.py.
+ * gtk/src/dialog.hg: Remove get/set_has_separator() and property, because
+ it was removed from GTK+.
+
+2010-09-04 Murray Cumming <murrayc murrayc com>
+
gtkmm: Fix typos to really avoid documentation warnings.
* gtk/src/gtk_extra_objects.defs: Add a missing quote and add some other
diff --git a/gtk/src/dialog.ccg b/gtk/src/dialog.ccg
index a9a6b64..0cdab98 100644
--- a/gtk/src/dialog.ccg
+++ b/gtk/src/dialog.ccg
@@ -27,7 +27,7 @@ Dialog::Dialog(const Glib::ustring& title, Gtk::Window& parent, bool modal, bool
:
_CONSTRUCT("title", title.c_str())
{
- construct_(modal, use_separator);
+ set_modal(modal);
set_transient_for(parent);
}
@@ -35,13 +35,7 @@ Dialog::Dialog(const Glib::ustring& title, bool modal, bool use_separator)
:
_CONSTRUCT("title", title.c_str())
{
- construct_(modal, use_separator);
-}
-
-void Dialog::construct_(bool modal, bool use_separator)
-{
set_modal(modal);
- set_has_separator(use_separator);
}
void Dialog::set_alternative_button_order_from_array(const Glib::ArrayHandle<int>& new_order)
diff --git a/gtk/src/dialog.hg b/gtk/src/dialog.hg
index 9ec7cae..6d42320 100644
--- a/gtk/src/dialog.hg
+++ b/gtk/src/dialog.hg
@@ -83,8 +83,6 @@ public:
_WRAP_METHOD(Widget* get_widget_for_response(int response_id), gtk_dialog_get_widget_for_response)
_WRAP_METHOD(const Widget* get_widget_for_response(int response_id) const, gtk_dialog_get_widget_for_response, constversion)
_WRAP_METHOD(int get_response_for_widget(const Gtk::Widget& widget) const, gtk_dialog_get_response_for_widget)
- _WRAP_METHOD(void set_has_separator(bool setting = true), gtk_dialog_set_has_separator)
- _WRAP_METHOD(bool get_has_separator() const, gtk_dialog_get_has_separator)
_WRAP_METHOD(static bool alternative_button_order(const Glib::RefPtr<const Gdk::Screen>& screen), gtk_alternative_dialog_button_order)
@@ -121,14 +119,9 @@ public:
_WRAP_METHOD(VBox* get_vbox(), gtk_dialog_get_content_area)
_WRAP_METHOD(const VBox* get_vbox() const, gtk_dialog_get_content_area)
- _WRAP_PROPERTY("has_separator", bool)
-
_WRAP_SIGNAL(void response(int response_id), "response")
_IGNORE_SIGNAL("close")
-
-protected:
- void construct_(bool modal, bool use_separator);
};
} /* namespace Gtk */
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 4c9cd82..9e9efba 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -1331,7 +1331,6 @@
(values
'("modal" "GTK_DIALOG_MODAL")
'("destroy-with-parent" "GTK_DIALOG_DESTROY_WITH_PARENT")
- '("no-separator" "GTK_DIALOG_NO_SEPARATOR")
)
)
@@ -7212,21 +7211,6 @@
)
)
-(define-method set_has_separator
- (of-object "GtkDialog")
- (c-name "gtk_dialog_set_has_separator")
- (return-type "none")
- (parameters
- '("gboolean" "setting")
- )
-)
-
-(define-method get_has_separator
- (of-object "GtkDialog")
- (c-name "gtk_dialog_get_has_separator")
- (return-type "gboolean")
-)
-
(define-function gtk_alternative_dialog_button_order
(c-name "gtk_alternative_dialog_button_order")
(return-type "gboolean")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]