[vala] gtk+-2.0, gtk+-3.0: Fix GtkToggleActionEntry binding
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Fix GtkToggleActionEntry binding
- Date: Thu, 24 Feb 2011 12:06:46 +0000 (UTC)
commit 990d891fcd168879c5aba757c8aeb6c5e02d99b2
Author: Jim Nelson <jim yorba org>
Date: Thu Feb 24 13:05:39 2011 +0100
gtk+-2.0, gtk+-3.0: Fix GtkToggleActionEntry binding
Fixes bug 643152.
vapi/gtk+-2.0.vapi | 2 +-
vapi/gtk+-3.0.vapi | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 2 +-
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 74e5867..72dbf83 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -6420,7 +6420,7 @@ namespace Gtk {
public weak string accelerator;
public weak string tooltip;
[CCode (type = "GCallback")]
- public Gtk.ActionCallback callback;
+ public weak Gtk.ActionCallback callback;
public bool is_active;
}
[CCode (type_id = "GTK_TYPE_TREE_ITER", cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index fa1ffbd..3a29a00 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -6271,7 +6271,7 @@ namespace Gtk {
public weak string accelerator;
public weak string tooltip;
[CCode (type = "GCallback")]
- public Gtk.ActionCallback callback;
+ public weak Gtk.ActionCallback callback;
public bool is_active;
}
[CCode (type_id = "GTK_TYPE_TREE_ITER", cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index fb3a650..ad076ce 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -608,7 +608,7 @@ gtk_toggle_action_new.tooltip nullable="1"
gtk_toggle_action_new.stock_id nullable="1"
GtkToggleAction::toggled has_emitter="1"
GtkToggleActionEntry is_value_type="1"
-GtkToggleActionEntry.callback type_name="ActionCallback" ctype="GCallback"
+GtkToggleActionEntry.callback type_name="ActionCallback" ctype="GCallback" value_owned="0"
GtkToggleButton::toggled has_emitter="1"
GtkToolbar.GtkTooltips hidden="1"
GtkToolbar.gpointer hidden="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 23d00b4..034b2f5 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -620,7 +620,7 @@ gtk_toggle_action_new.tooltip nullable="1"
gtk_toggle_action_new.stock_id nullable="1"
GtkToggleAction::toggled has_emitter="1"
GtkToggleActionEntry is_value_type="1"
-GtkToggleActionEntry.callback type_name="ActionCallback" ctype="GCallback"
+GtkToggleActionEntry.callback type_name="ActionCallback" ctype="GCallback" value_owned="0"
GtkToggleButton::toggled has_emitter="1"
GtkToolbar.GtkTooltips hidden="1"
GtkToolbar.gpointer hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]