anjuta r4612 - in trunk: . plugins/project-manager



Author: jhs
Date: Mon Jan 19 17:25:40 2009
New Revision: 4612
URL: http://svn.gnome.org/viewvc/anjuta?rev=4612&view=rev

Log:
2009-01-19  Johannes Schmid  <jhs gnome org>

	* plugins/project-manager/gbf-project-view.c
	(gbf_project_view_instance_init):
	#567967 â build fail with sun cc because zero-sized struct

Modified:
   trunk/ChangeLog
   trunk/plugins/project-manager/gbf-project-view.c

Modified: trunk/plugins/project-manager/gbf-project-view.c
==============================================================================
--- trunk/plugins/project-manager/gbf-project-view.c	(original)
+++ trunk/plugins/project-manager/gbf-project-view.c	Mon Jan 19 17:25:40 2009
@@ -39,10 +39,6 @@
 
 #define ICON_SIZE 16
 
-struct _GbfProjectViewPrivate {	
-
-};
-
 enum {
 	URI_ACTIVATED,
 	TARGET_SELECTED,
@@ -334,15 +330,11 @@
 static void 
 gbf_project_view_instance_init (GbfProjectView *tree)
 {
-	GbfProjectViewPrivate *priv;
 	GtkCellRenderer *renderer;
 	GtkTreeViewColumn *column;
 	static GtkTargetEntry row_targets[] = {
 		{ "GTK_TREE_MODEL_ROW", GTK_TARGET_SAME_WIDGET, 0 }
 	};
-
-	priv = g_new0 (GbfProjectViewPrivate, 1);
-	tree->priv = priv;
     
 	gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tree), FALSE);
 	gtk_tree_view_set_enable_search (GTK_TREE_VIEW (tree), TRUE);



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