devhelp r1167 - in trunk: . src



Author: herzi
Date: Thu Oct  9 17:42:45 2008
New Revision: 1167
URL: http://svn.gnome.org/viewvc/devhelp?rev=1167&view=rev

Log:
2008-10-07  Sven Herzberg  <sven imendio com>

	Added a getter for the DhBase

	* src/dh-assistant-view.c,
	* src/dh-assistant-view.h: added a getter, so we can get rid of the
	DhBase in DhAssistant


Modified:
   trunk/ChangeLog
   trunk/src/dh-assistant-view.c
   trunk/src/dh-assistant-view.h

Modified: trunk/src/dh-assistant-view.c
==============================================================================
--- trunk/src/dh-assistant-view.c	(original)
+++ trunk/src/dh-assistant-view.c	Thu Oct  9 17:42:45 2008
@@ -62,6 +62,14 @@
         object_class->finalize = view_finalize;
 }
 
+DhBase*
+dh_assistant_view_get_base (DhAssistantView* self)
+{
+        g_return_val_if_fail (DH_IS_ASSISTANT_VIEW (self), NULL);
+
+        return self->base;
+}
+
 GtkWidget*
 dh_assistant_view_new (void)
 {

Modified: trunk/src/dh-assistant-view.h
==============================================================================
--- trunk/src/dh-assistant-view.h	(original)
+++ trunk/src/dh-assistant-view.h	Thu Oct  9 17:42:45 2008
@@ -42,6 +42,7 @@
 
 GType      dh_assistant_view_get_type (void) G_GNUC_CONST;
 GtkWidget* dh_assistant_view_new      (void);
+DhBase*    dh_assistant_view_get_base (DhAssistantView* self);
 void       dh_assistant_view_set_base (DhAssistantView *self,
                                        DhBase          *base);
 



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