libegg r918 - in trunk: . libegg/treeviewutils



Author: chpe
Date: Tue Nov 11 13:10:06 2008
New Revision: 918
URL: http://svn.gnome.org/viewvc/libegg?rev=918&view=rev

Log:
Don't make GTypeInfo static. Include config.h.

Modified:
   trunk/ChangeLog
   trunk/libegg/treeviewutils/eggtreemultidnd.c

Modified: trunk/libegg/treeviewutils/eggtreemultidnd.c
==============================================================================
--- trunk/libegg/treeviewutils/eggtreemultidnd.c	(original)
+++ trunk/libegg/treeviewutils/eggtreemultidnd.c	Tue Nov 11 13:10:06 2008
@@ -17,6 +17,10 @@
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <string.h>
 #include <gtk/gtk.h>
 #include "eggtreemultidnd.h"
@@ -56,7 +60,7 @@
 
   if (!our_type)
     {
-      static const GTypeInfo our_info =
+      const GTypeInfo our_info =
       {
         sizeof (EggTreeMultiDragSourceIface), /* class_size */
 	NULL,		/* base_init */



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