summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorJonh Wendell <jonh.wendell@intel.com>2013-07-10 16:09:14 -0300
committerJonh Wendell <jonh.wendell@intel.com>2013-07-10 16:09:14 -0300
commite404c5583b93fd0d5220d540922470e599936976 (patch)
tree1c3e7ec95fbde2494898109f40ba76e88a4a3d35 /vapi
parent64243a9d75900cff2d85edb7342a0f1c5d28eec0 (diff)
downloadgnome-contacts-e404c5583b93fd0d5220d540922470e599936976.tar.gz
Sync cheese-flash.[ch]
And properly modify callers to the new API. Old code was creating a window with the size of the screen. Thus, when taking a photo, the gnome-shell panel was then "hidden" by this big window. This has been fixed in "upstream" cheese, so, grab the latest code and make small modifications to fit the new API. https://bugzilla.gnome.org/show_bug.cgi?id=702177
Diffstat (limited to 'vapi')
-rw-r--r--vapi/custom.vapi4
1 files changed, 2 insertions, 2 deletions
diff --git a/vapi/custom.vapi b/vapi/custom.vapi
index 8313caa..d286d53 100644
--- a/vapi/custom.vapi
+++ b/vapi/custom.vapi
@@ -93,7 +93,7 @@ namespace Cheese {
[CCode (cheader_filename = "cheese-flash.h")]
public class Flash : Gtk.Window {
[CCode (has_construct_function = false, type = "CheeseFlash*")]
- public Flash ();
- public void fire (Gdk.Rectangle rect);
+ public Flash (Gtk.Widget parent);
+ public void fire ();
}
}