]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/treeentry_gtk.c
allow using multiple wxBufferedDCs at once (patch 1589441)
[wxWidgets.git] / src / gtk / treeentry_gtk.c
index c3243ce08f348a9048f82047cc2bf9bc6e825903..3df6d72d2d8c9f7beb79f2dcb82a566a651a5d8a 100644 (file)
@@ -46,7 +46,7 @@ gtk_tree_entry_get_type ()
 
     if (!tree_entry_type)
     {
-        static const GTypeInfo tree_entry_info =
+        const GTypeInfo tree_entry_info =
         {
             sizeof (GtkTreeEntryClass),
             NULL,           /* base_init */
@@ -56,7 +56,8 @@ gtk_tree_entry_get_type ()
             NULL,           /* class_data */
             sizeof (GtkTreeEntry),
             16,             /* n_preallocs */
-            (GInstanceInitFunc) gtk_tree_entry_init /*instance_init*/
+            (GInstanceInitFunc) gtk_tree_entry_init, /*instance_init*/
+            NULL            /* value_table */
         };
         tree_entry_type = g_type_register_static (G_TYPE_OBJECT, "GtkTreeEntry",
                                                   &tree_entry_info,