[ekiga/ds-gtk-application] LiveObject: Allow empty populate_menu.



commit c1ac3ba7d8417e300aaa9a2e677c9dcb09f82519
Author: Damien Sandras <dsandras beip be>
Date:   Sun Mar 30 19:39:21 2014 +0200

    LiveObject: Allow empty populate_menu.
    
    This is required due to the recent changes. We are migrating some
    LiveObjects to Actors. This is required during the transition.

 lib/engine/framework/live-object.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/framework/live-object.h b/lib/engine/framework/live-object.h
index dfd33a8..2e812eb 100644
--- a/lib/engine/framework/live-object.h
+++ b/lib/engine/framework/live-object.h
@@ -53,7 +53,7 @@ namespace Ekiga
     /** Populate a menu with the action available on that object
      * @param A MenuBuilder object to populate.
      */
-    virtual bool populate_menu (MenuBuilder &) = 0;
+    virtual bool populate_menu (MenuBuilder &) { return false; };
 
 
     /**


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