diff src/ui_pathsel.c @ 1365:249bf204004a

When g_new0() is used, drop redundant initializations to NULL, FALSE or 0.
author zas_
date Sun, 01 Mar 2009 21:06:55 +0000
parents e8f21b91885d
children a3d3208b0c50
line wrap: on
line diff
--- a/src/ui_pathsel.c	Sun Mar 01 19:48:38 2009 +0000
+++ b/src/ui_pathsel.c	Sun Mar 01 21:06:55 2009 +0000
@@ -1033,10 +1033,6 @@
 	GtkCellRenderer *renderer;
 
 	dd = g_new0(Dest_Data, 1);
-	dd->show_hidden = FALSE;
-	dd->select_func = NULL;
-	dd->select_data = NULL;
-	dd->gd = NULL;
 
 	table = gtk_table_new(4, (filter != NULL) ? 3 : 1, FALSE);
 	gtk_table_set_col_spacings(GTK_TABLE(table), PREF_PAD_GAP);