[cheese] main: properly start GtkClutter to avoid a runtime warning
- From: Daniel G. Siegel <dgsiegel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] main: properly start GtkClutter to avoid a runtime warning
- Date: Fri, 13 Aug 2010 08:19:17 +0000 (UTC)
commit c6470f155e922318e1b41eba696cf1175c1705ff
Author: Thiago Santos <thiago sousa santos collabora co uk>
Date: Thu Aug 12 18:25:58 2010 -0300
main: properly start GtkClutter to avoid a runtime warning
Initializing GtkClutter instead of gtk and clutter separately
prevents this:
"ClutterGLX-CRITICAL **: Unable to make the
stage window 0x4600035 the current GLX drawable"
src/cheese-main.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/cheese-main.vala b/src/cheese-main.vala
index b45f24b..ccaff49 100644
--- a/src/cheese-main.vala
+++ b/src/cheese-main.vala
@@ -60,8 +60,7 @@ public class Cheese.Main
Gtk.rc_parse (GLib.Path.build_filename (Config.PACKAGE_DATADIR, "gtkrc"));
- Gtk.init (ref args);
- Clutter.init (ref args);
+ GtkClutter.init (ref args);
try {
var context = new OptionContext (_("- Take photos and videos from your webcam"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]