[cheese/wip/gtkapplication-refactor: 8/9] Remove unnecessary instance_pos attribute



commit da1a0b14de054f36f43939078018959b36c94aff
Author: David King <amigadave amigadave com>
Date:   Sat Jun 29 18:16:36 2013 +0100

    Remove unnecessary instance_pos attribute
    
    The instance_pos attribute is only used in Cheese when connecting
    signals from actions to handlers with GtkBuilder.

 src/cheese-window.vala |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 14e039a..63e6303 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -855,7 +855,6 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
      * Take a photo or burst of photos, or record a video, based on the current
      * capture mode.
      */
-    [CCode (instance_pos = -1)]
     public void shoot ()
     {
         switch (current_mode)
@@ -908,7 +907,6 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
      *
      * @param effects whether effects should be enabled
      */
-    [CCode (instance_pos = -1)]
     public void set_effects (bool effects)
     {
         toggle_effects_selector (effects);


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