[Glade-devel] Menu editor stuff
- From: olexiy at ctech.cn.ua (Olexiy Avramchenko)
- Subject: [Glade-devel] Menu editor stuff
- Date: Mon Dec 19 03:17:59 2005
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.
+
+ /* Start glade-command */
+ glade_command_push_group (desc);
g_free(desc); ?
+
+ glade_gtk_menu_editor_real_reorder (model, iter);
+
+ /* End glade-command */
+ glade_command_pop_group ();
+}
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]