Revision: 3782 http://geany.svn.sourceforge.net/geany/?rev=3782&view=rev Author: eht16 Date: 2009-05-11 15:57:02 +0000 (Mon, 11 May 2009)
Log Message: ----------- Remove unnecessary call to g_intern_string() to fix build with GLib 2.8 (closes #2790051).
Modified Paths: -------------- trunk/ChangeLog trunk/src/dialogs.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-05-11 15:56:33 UTC (rev 3781) +++ trunk/ChangeLog 2009-05-11 15:57:02 UTC (rev 3782) @@ -7,6 +7,9 @@ * src/utils.c: Use plain old fwrite() in utils_write_file(). g_file_set_contents() is only used when explicitly requested. + * src/dialogs.c: + Remove unnecessary call to g_intern_string() to fix build with + GLib 2.8 (closes #2790051).
2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/dialogs.c =================================================================== --- trunk/src/dialogs.c 2009-05-11 15:56:33 UTC (rev 3781) +++ trunk/src/dialogs.c 2009-05-11 15:57:02 UTC (rev 3782) @@ -109,13 +109,11 @@
static void on_file_open_notify(GObject *filechooser, GParamSpec *pspec, gpointer data) { - const gchar *name; GValue *value;
- name = g_intern_string(pspec->name); value = g_new0(GValue, 1); g_value_init(value, pspec->value_type); - g_object_get_property(filechooser, name, value); + g_object_get_property(filechooser, pspec->name, value);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON( ui_lookup_widget(GTK_WIDGET(filechooser), "check_hidden")), g_value_get_boolean(value));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.