devhelp r1084 - in trunk: . src



Author: rhult
Date: Thu Oct  2 18:26:12 2008
New Revision: 1084
URL: http://svn.gnome.org/viewvc/devhelp?rev=1084&view=rev

Log:
2008-10-02  Richard Hult  <richard imendio com>

	* src/dh-book-tree.c:
	* src/dh-book-tree.h: Move private struct typedef from the header.


Modified:
   trunk/ChangeLog
   trunk/src/dh-book-tree.c
   trunk/src/dh-book-tree.h

Modified: trunk/src/dh-book-tree.c
==============================================================================
--- trunk/src/dh-book-tree.c	(original)
+++ trunk/src/dh-book-tree.c	Thu Oct  2 18:26:12 2008
@@ -35,13 +35,13 @@
 	GtkTreePath *path;
 } FindURIData;
 
-struct _DhBookTreePriv {
+typedef struct {
 	GtkTreeStore *store;
         GdkPixbuf    *pixbuf_opened;
         GdkPixbuf    *pixbuf_closed;
         GdkPixbuf    *pixbuf_helpdoc;
  	GNode        *link_tree;
-};
+} DhBookTreePriv;
 
 static void dh_book_tree_class_init        (DhBookTreeClass  *klass);
 static void dh_book_tree_init              (DhBookTree       *tree);

Modified: trunk/src/dh-book-tree.h
==============================================================================
--- trunk/src/dh-book-tree.h	(original)
+++ trunk/src/dh-book-tree.h	Thu Oct  2 18:26:12 2008
@@ -30,9 +30,8 @@
 #define DH_IS_BOOK_TREE(obj)	     (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DH_TYPE_BOOK_TREE))
 #define DH_IS_BOOK_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), DH_TYPE_BOOK_TREE))
 
-typedef struct _DhBookTree       DhBookTree;
-typedef struct _DhBookTreeClass  DhBookTreeClass;
-typedef struct _DhBookTreePriv   DhBookTreePriv;
+typedef struct _DhBookTree      DhBookTree;
+typedef struct _DhBookTreeClass DhBookTreeClass;
 
 struct _DhBookTree {
 	GtkTreeView parent_instance;



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