[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Vala] [PATCH] gtk_action_group_add_*_actions add user_data
- From: "Jaap A. Haitsma" <jaap haitsma org>
- To: vala-list gnome org
- Subject: [Vala] [PATCH] gtk_action_group_add_*_actions add user_data
- Date: Wed, 2 Apr 2008 07:34:49 +0200
Hi,
I've ran into an issue when using ActionGroup.add_toggle_actions or
ActionGroup.add_radio_actions. The field user_data is not being set by
the vala compiler so the C compiler complains. Attached patch should
resolve this I think. In my opinion it would be even better if the
user_data field was not there but that the vala compiler would
automatically set it to the this pointer. Is this possible?
Also somehow I can't run vapigen on trunk for gtk+. I get an error
vapigen --library gtk+-2.0 packages/gtk+-2.0/gtk+-2.0.*
error: The type name `Gtk.FileChooserEmbed' could not be found
Generation failed: 1 error(s), 0 warning(s)
Should I do something else.
Thanks
Jaap
Index: gtk+-2.0.metadata
===================================================================
--- gtk+-2.0.metadata (revision 1165)
+++ gtk+-2.0.metadata (working copy)
@@ -15,6 +15,10 @@
GtkActionEntry is_value_type="1"
gtk_action_group_add_actions.user_data hidden="0"
gtk_action_group_add_actions_full.user_data hidden="0"
+gtk_action_group_add_toggle_actions.user_data hidden="0"
+gtk_action_group_add_toggle_actions_full.user_data hidden="0"
+gtk_action_group_add_radio_actions.user_data hidden="0"
+gtk_action_group_add_radio_actions_full.user_data hidden="0"
GtkAdjustment::changed has_emitter="1"
GtkAdjustment::value_changed has_emitter="1"
GtkAllocation is_value_type="1"
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]