[maemo-commits] [maemo-commits] r8707 - projects/haf/trunk/hildon-fm/hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Dec 11 10:38:47 EET 2006
Author: marivoll
Date: 2006-12-11 10:38:46 +0200 (Mon, 11 Dec 2006)
New Revision: 8707

Modified:
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.h
Log:
	From Daniel Elstner <danielk at openismus.com> for the benefit of
	language bindings.

	* hildon-fm/hildon-file-system-model.h
	(HildonFileSystemModelClass): Hide this struct by prefixing an
	underscore.  (M182).


Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.h
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.h	2006-12-11 08:37:44 UTC (rev 8706)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-system-model.h	2006-12-11 08:38:46 UTC (rev 8707)
@@ -106,13 +106,15 @@
     HildonFileSystemModelPrivate *priv;
 };
 
-typedef struct {
+typedef struct _HildonFileSystemModelClass HildonFileSystemModelClass;
+
+struct _HildonFileSystemModelClass {
     GObjectClass parent_class;
 
     void (*finished_loading) (HildonFileSystemModel *model, GtkTreeIter *iter);
     void (*device_disconnected) (HildonFileSystemModel *model, 
       GtkTreeIter *iter);
-} HildonFileSystemModelClass;
+};
 
 GType hildon_file_system_model_get_type(void);
 


More information about the maemo-commits mailing list