cheese r762 - in branches/cheese-vala: . src
- From: jhaitsma svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r762 - in branches/cheese-vala: . src
- Date: Sun, 15 Jun 2008 21:37:23 +0000 (UTC)
Author: jhaitsma
Date: Sun Jun 15 21:37:23 2008
New Revision: 762
URL: http://svn.gnome.org/viewvc/cheese?rev=762&view=rev
Log:
Fix on_expose functions. Add help
Modified:
branches/cheese-vala/ (props changed)
branches/cheese-vala/src/cheese-flash.vala
branches/cheese-vala/src/cheese-webcam.vala
branches/cheese-vala/src/cheese-window.vala
Modified: branches/cheese-vala/src/cheese-flash.vala
==============================================================================
--- branches/cheese-vala/src/cheese-flash.vala (original)
+++ branches/cheese-vala/src/cheese-flash.vala Sun Jun 15 21:37:23 2008
@@ -100,11 +100,10 @@
return false;
}
- bool on_expose_event (Gtk.Window window, Gdk.Event event) {
+ bool on_expose_event (Gtk.Window window, EventExpose event) {
Context ctx = Gdk.cairo_create (window.window);
ctx.set_source_rgb (1, 1, 1);
- EventExpose e = event.expose;
- ctx.rectangle (e.area.x, e.area.y, e.area.width, e.area.height);
+ ctx.rectangle (event.area.x, event.area.y, event.area.width, event.area.height);
ctx.fill ();
return true;
}
Modified: branches/cheese-vala/src/cheese-webcam.vala
==============================================================================
--- branches/cheese-vala/src/cheese-webcam.vala (original)
+++ branches/cheese-vala/src/cheese-webcam.vala Sun Jun 15 21:37:23 2008
@@ -248,7 +248,7 @@
overlay.set_xwindow_id (x11_drawable_get_xid (video_window.window));
}
- bool on_expose (Widget sender, Gdk.Event event) {
+ bool on_expose (Widget sender, EventExpose event) {
set_x_overlay ();
return false;
}
Modified: branches/cheese-vala/src/cheese-window.vala
==============================================================================
--- branches/cheese-vala/src/cheese-window.vala (original)
+++ branches/cheese-vala/src/cheese-window.vala Sun Jun 15 21:37:23 2008
@@ -236,6 +236,7 @@
}
void on_help (Action action) {
+ show_uri (null, "ghelp:cheese", Gdk.CURRENT_TIME);
}
void on_set_countdown (Action action) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]