From 5c990b42676aea13413fe55a0d7225a0119c35d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20P=C3=A9rez=20Castellanos?= Date: Fri, 24 Feb 2012 00:58:00 -0500 Subject: Adding cheese-flash effect support. Old files from gnome-screenshot, not the ones from actual cheese since does involves more stuff. https://bugzilla.gnome.org/show_bug.cgi?id=657978 --- vapi/custom.vapi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vapi') diff --git a/vapi/custom.vapi b/vapi/custom.vapi index c046977..d4372a3 100644 --- a/vapi/custom.vapi +++ b/vapi/custom.vapi @@ -69,3 +69,12 @@ namespace Um { public Gdk.Pixbuf get_picture (); } } + +[CCode (cprefix = "Cheese", lower_case_cprefix = "cheese_", cheader_filename = "cheese-flash.h")] +namespace Cheese { + public class Flash : Gtk.Window { + [CCode (has_construct_function = false, type = "CheeseFlash*")] + public Flash (); + public void fire (Gdk.Rectangle rect); + } +} -- cgit v1.2.1