gegl r1938 - in trunk: . bin



Author: kcozens
Date: Tue Jan 29 21:54:55 2008
New Revision: 1938
URL: http://svn.gnome.org/viewvc/gegl?rev=1938&view=rev

Log:
* bin/editor-optype.c:
* bin/gegl-store.c: Use g_free() instead of free().


Modified:
   trunk/ChangeLog
   trunk/bin/editor-optype.c
   trunk/bin/gegl-store.c

Modified: trunk/bin/editor-optype.c
==============================================================================
--- trunk/bin/editor-optype.c	(original)
+++ trunk/bin/editor-optype.c	Tue Jan 29 21:54:55 2008
@@ -49,10 +49,10 @@
   gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->vbox), vbox);
 
   g_signal_connect_swapped (dialog,
-                            "response", 
+                            "response",
                             G_CALLBACK (gtk_widget_destroy),
                             dialog);
-  
+
   gtk_widget_show_all (dialog);
 }
 
@@ -136,9 +136,9 @@
     property_editor_rebuild (bauxite->property_editor, item);
 
   if (old_name)
-    free (old_name);
+   g_free (old_name);
   if (old_type)
-    free (old_type);
+    g_free (old_type);
 #endif
 }
 
@@ -413,7 +413,7 @@
   GtkWidget *button_arrow;
   char     *current_type;
   GeglNode  *item = NULL;
-  
+
   if (node_editor)
     item =node_editor->node;
 
@@ -454,7 +454,7 @@
   if (current_type)
     {
       gtk_entry_set_text (GTK_ENTRY (entry), current_type);
-      free (current_type);
+      g_free (current_type);
     }
   gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
   gtk_entry_set_completion (GTK_ENTRY (entry), completion);
@@ -516,6 +516,6 @@
   gtk_entry_set_text (GTK_ENTRY (entry), new_value);
   entry_activate (GTK_ENTRY (entry), user_data);
 
-  free (new_value);
+  g_free (new_value);
   return TRUE;
 }

Modified: trunk/bin/gegl-store.c
==============================================================================
--- trunk/bin/gegl-store.c	(original)
+++ trunk/bin/gegl-store.c	Tue Jan 29 21:54:55 2008
@@ -574,7 +574,7 @@
           g_value_set_string (value, STOCK_THRESHOLD);
           return;
         }
-        free (type);
+        g_free (type);
           }
 
 /* *INDENT-ON* */
@@ -638,9 +638,9 @@
                 }
               property = gegl_next_sibling (property);
               if (prop_name)
-                free (prop_name);
+                g_free (prop_name);
               if (prop_value)
-                free (prop_value);
+                g_free (prop_value);
             }
           g_value_set_string (value, str->str);
           g_string_free (str, TRUE);



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