[perl-Gtk2] Wrap gtk_action_(un)block_activate (new in gtk+ 2.16)
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk2] Wrap gtk_action_(un)block_activate (new in gtk+ 2.16)
- Date: Sat, 24 Apr 2010 21:08:16 +0000 (UTC)
commit 5f52781c285d4562480bf457a74ac17fbb50d900
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Fri Apr 23 11:17:55 2010 +0100
Wrap gtk_action_(un)block_activate (new in gtk+ 2.16)
Original patch by Emmanuele Bassi.
https://bugzilla.gnome.org/show_bug.cgi?id=616634
t/GtkAction.t | 3 +++
xs/GtkAction.xs | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/t/GtkAction.t b/t/GtkAction.t
index a106324..e87c16b 100644
--- a/t/GtkAction.t
+++ b/t/GtkAction.t
@@ -150,6 +150,9 @@ SKIP: {
$action->set_is_important(TRUE);
is ($action->get_is_important, TRUE, '[gs]et_is_important');
+
+ $action->block_activate;
+ $action->unblock_activate;
}
__END__
diff --git a/xs/GtkAction.xs b/xs/GtkAction.xs
index 371963a..7a48e22 100644
--- a/xs/GtkAction.xs
+++ b/xs/GtkAction.xs
@@ -133,6 +133,10 @@ gboolean gtk_action_get_is_important (GtkAction *action);
#
# GIcon * gtk_action_get_gicon (GtkAction *action);
+void gtk_action_block_activate (GtkAction *action);
+
+void gtk_action_unblock_activate (GtkAction *action);
+
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]