[Glade-devel] Menu editor stuff



Olexiy Avramchenko wrote:
Tristan Van Berkom wrote:
[...]

+static void
+glade_gtk_menu_editor_reorder (GladeGtkMenuEditor *e, GtkTreeModel 
*model, GtkTreeIter *iter)
+{
+    gchar *desc;
+   
+    g_return_if_fail (e != NULL);
+    g_return_if_fail (e->gmenubar != NULL);
+
+    desc = g_strdup_printf (_("Reorder children of %s"), 
e->gmenubar->name);

Hi, Tristan, sorry for intervention. Looks like you're leaking string here.


No problem,
     it was just a prototype but I'm glad to see that
people are on thier toes :)

Cheers,
                     -Tristan



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