Patch for gnome-icon-entry.c for 1.4.x



Does this look ok for inclusion?

Cheers
Kjartan

Index: gnome-icon-entry.c
===================================================================
RCS file: /cvs/gnome/gnome-libs/libgnomeui/Attic/gnome-icon-entry.c,v
retrieving revision 1.33
diff -u -r1.33 gnome-icon-entry.c
--- gnome-icon-entry.c	1 Oct 1999 14:51:07 -0000	1.33
+++ gnome-icon-entry.c	6 May 2002 09:27:35 -0000
@@ -33,7 +33,6 @@
 #include "gnome-icon-sel.h"
 #include "gnome-icon-entry.h"
 #include <sys/stat.h>
-#include <unistd.h>
 #include <string.h>
 
 
@@ -84,7 +83,7 @@
 static void
 gnome_icon_entry_class_init (GnomeIconEntryClass *class)
 {
-	parent_class = gtk_type_class (gtk_hbox_get_type ());
+	parent_class = gtk_type_class (gtk_vbox_get_type ());
 }
 
 static void
@@ -398,7 +397,7 @@
 				/*get around the g_free/free issue*/
 				gchar *cwd = g_get_current_dir ();
 				p = g_strdup(cwd);
-				free(cwd);
+				g_free(cwd);
 			}
 			gtk_entry_set_text (GTK_ENTRY (gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (ientry->fentry))),
 				    p);


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