[clutter] Fix clutter-bakend-win32.c



commit bbe54aa2ec61824ec05684bb2de6297edc289500
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Nov 14 13:36:52 2011 +0800

    Fix clutter-bakend-win32.c
    
    The VBLANK environmental variable is done universally in clutter-main.c
    as in commits e8562089 (main: Add a sync-to-vblank global flag) and
    db211a21 (Remove per-backend CLUTTER_VBLANK envvar), so remove these things
    here as well.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663999

 clutter/win32/clutter-backend-win32.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/clutter/win32/clutter-backend-win32.c b/clutter/win32/clutter-backend-win32.c
index 608a66e..0187527 100644
--- a/clutter/win32/clutter-backend-win32.c
+++ b/clutter/win32/clutter-backend-win32.c
@@ -80,24 +80,6 @@ _clutter_backend_win32_get_invisible_cursor (ClutterBackend *backend)
   return backend_win32->invisible_cursor;
 }
 
-static const GOptionEntry entries[] =
-  {
-    {
-      "vblank", 0, 
-      0, 
-      G_OPTION_ARG_STRING, &clutter_vblank_name,
-      "VBlank method to be used (none, default or wgl)", "METHOD" 
-    },
-    { NULL }
-  };
-
-void
-clutter_backend_win32_add_options (ClutterBackend *backend,
-				   GOptionGroup   *group)
-{
-  g_option_group_add_entries (group, entries);
-}
-
 static void
 clutter_backend_win32_finalize (GObject *gobject)
 {
@@ -204,7 +186,6 @@ clutter_backend_win32_class_init (ClutterBackendWin32Class *klass)
   backend_class->stage_window_type = CLUTTER_TYPE_STAGE_WIN32;
 
   backend_class->init_events = clutter_backend_win32_init_events;
-  backend_class->add_options = clutter_backend_win32_add_options;
   backend_class->get_features = clutter_backend_win32_get_features;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]