Re: patch for libgnomeui for enabling help on GNOME2



+	label = create_label ("Help Contents");

This needs translating with _() probably

+	gtk_container_add (GTK_CONTAINER (item), label);
+
+	g_object_set_data_full (G_OBJECT (item), "docname",
+				g_strdup (uiinfo->moreinfo),g_free);
+
+	g_signal_connect_data (item, "activate",
+				G_CALLBACK (help_view_display_callback),
+				uiinfo->moreinfo,
+				(GClosureNotify) g_free,0);
 
What does this g_free free? Should uiinfo->moreinfo be freed?

Havoc



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