]> git.saurik.com Git - wxWidgets.git/commitdiff
remove empty GtkTreeEntryClass
authorPaul Cornett <paulcor@bullseye.com>
Sat, 6 Jul 2013 15:58:42 +0000 (15:58 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 6 Jul 2013 15:58:42 +0000 (15:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/private/treeentry_gtk.h
src/gtk/treeentry_gtk.c

index 2bd15dc5af5f972ddaa39478a421ac3006d6128b..18ed5181aecadad87c362f4e18dc51bfaa362082 100644 (file)
@@ -1,5 +1,5 @@
 /* ///////////////////////////////////////////////////////////////////////////
-// Name:        wx/gtk/treeentry_gtk.h
+// Name:        wx/gtk/private/treeentry_gtk.h
 // Purpose:     GtkTreeEntry - a string/userdata combo for use with treeview
 // Author:      Ryan Norton
 // Id:          $Id$
@@ -7,8 +7,8 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////// */
 
-#ifndef __GTK_TREE_ENTRY_H__
-#define __GTK_TREE_ENTRY_H__
+#ifndef _WX_GTK_TREE_ENTRY_H_
+#define _WX_GTK_TREE_ENTRY_H_
 
 #ifdef __cplusplus
 extern "C" {
@@ -20,11 +20,9 @@ extern "C" {
 
 #define GTK_TYPE_TREE_ENTRY          (gtk_tree_entry_get_type())
 #define GTK_TREE_ENTRY(obj)          (G_TYPE_CHECK_INSTANCE_CAST (obj, gtk_tree_entry_get_type (), GtkTreeEntry))
-#define GTK_TREE_ENTRY_CLASS(klass)  (G_TYPE_CHECK_CLASS_CAST (klass, gtk_tree_entry_get_type (), GtkTreeEntryClass))
 #define GTK_IS_TREE_ENTRY(obj)       (G_TYPE_CHECK_INSTANCE_TYPE (obj, gtk_tree_entry_get_type ()))
 
 typedef struct _GtkTreeEntry        GtkTreeEntry;
-typedef struct _GtkTreeEntryClass   GtkTreeEntryClass;
 
 typedef void (*GtkTreeEntryDestroy) (GtkTreeEntry* entry, gpointer context);
 
@@ -38,11 +36,6 @@ struct _GtkTreeEntry
     gpointer destroy_func_data;         /* context passed to destroy_func */
 };
 
-struct _GtkTreeEntryClass
-{
-    GObjectClass parent;
-};
-
 WXDLLIMPEXP_CORE
 GtkTreeEntry* gtk_tree_entry_new        (void);
 
@@ -73,4 +66,4 @@ void   gtk_tree_entry_set_destroy_func (GtkTreeEntry* entry,
 }
 #endif /* __cplusplus */
 
-#endif /* __GTK_TREE_ENTRY_H__ */
+#endif /* _WX_GTK_TREE_ENTRY_H_ */
index 6955a126caa184e3846cb5e1d0ebbd1be61707e1..5bdae1daa6111fb4144ff8ddc2c9668550058053 100644 (file)
@@ -55,7 +55,7 @@ gtk_tree_entry_get_type ()
     {
         const GTypeInfo tree_entry_info =
         {
-            sizeof (GtkTreeEntryClass),
+            sizeof(GObjectClass),
             NULL,           /* base_init */
             NULL,           /* base_finalize */
             gtk_tree_entry_class_init,