[gnome-commander] GnomeCmdNotebook: operator for casting to GtkContainer *



commit e8ad43a331ea2a89902271c6074466fe9ef3c959
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon Jun 28 19:53:19 2010 +0200

    GnomeCmdNotebook: operator for casting to GtkContainer *

 src/gnome-cmd-notebook.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-notebook.h b/src/gnome-cmd-notebook.h
index 1238fd6..bfb08fc 100644
--- a/src/gnome-cmd-notebook.h
+++ b/src/gnome-cmd-notebook.h
@@ -43,6 +43,7 @@ struct GnomeCmdNotebook
     void operator delete (void *p)      {  g_object_unref (p);  }
 
     operator GtkWidget * ()             {  return GTK_WIDGET (this);    }
+    operator GtkContainer * ()          {  return GTK_CONTAINER (this); }
     operator GtkNotebook * ()           {  return GTK_NOTEBOOK (this);  }
 
     int size()                          {  return gtk_notebook_get_n_pages (*this);  }



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