2007-07-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
* shell/ev-window.c: (file_open_dialog_response_cb): Plugged memory
leak.
svn path=/trunk/; revision=2605
+2007-07-31 Hiroyuki Ikezoe <poincare@ikezoe.net>
+
+ * shell/ev-window.c: (file_open_dialog_response_cb): Plugged memory
+ leak.
+
2007-07-30 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
gint response_id,
EvWindow *ev_window)
{
+ gchar *uri;
+
if (response_id == GTK_RESPONSE_OK) {
GSList *uris;
g_slist_foreach (uris, (GFunc)g_free, NULL);
g_slist_free (uris);
}
- ev_application_set_chooser_uri (EV_APP,
- gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (chooser)));
+
+ uri = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (chooser));
+ ev_application_set_chooser_uri (EV_APP, uri);
+ g_free (uri);
gtk_widget_destroy (chooser);
}