[monkey-bubble: 727/753] Update Bump to 2.17.0
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 727/753] Update Bump to 2.17.0
- Date: Wed, 14 Jul 2010 22:56:49 +0000 (UTC)
commit a455425855887e144bbd2285bb1dfca60f4f3627
Author: Kjartan Maraas <kmaraas gnome org>
Date: Sun Dec 3 21:15:28 2006 +0000
Update Bump to 2.17.0
2006-12-03 Kjartan Maraas <kmaraas gnome org>
* NEWS: Update
* configure.in: Bump to 2.17.0
* file-chooser/gtkfilesystemgnomevfs.c: (get_file_info_callback),
(cancel_operation_callback):
* file-chooser/prop-editor.c: (property_widget):
* libgnomeui/gnome-about.c: (create_label),
(gnome_about_set_comments), (gnome_about_set_copyright),
(gnome_about_set_version):
* libgnomeui/gnome-appbar.c: (gnome_appbar_constructor):
* libgnomeui/gnome-client.c: (client_parse_func):
* libgnomeui/gnome-entry.c: (free_item):
* libgnomeui/gnome-file-entry.c: (gnome_file_entry_set_title):
* libgnomeui/gnome-href.c: (gnome_href_instance_init):
* libgnomeui/gnome-icon-list.c:
* libgnomeui/gnome-mdi-child.c: (gnome_mdi_child_set_name):
* libgnomeui/gnome-mdi.c: (app_clone),
(gnome_mdi_set_child_menu_path), (gnome_mdi_set_child_list_path):
* libgnomeui/gnome-scores.c: (gnome_scores_construct):
* libgnomeui/gnome-thumbnail.c:
(gnome_thumbnail_factory_generate_thumbnail):
* test-gnome/testgnome.c: (file_entry_update_files):
- g_free() and g_strdup() can handle NULL
- pass NULL instead of "" to gtk_label_new() to save a bit of work.
libgnomeui/gnome-scores.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgnomeui/gnome-scores.c b/libgnomeui/gnome-scores.c
index 28ca4db..20a59c5 100644
--- a/libgnomeui/gnome-scores.c
+++ b/libgnomeui/gnome-scores.c
@@ -201,7 +201,7 @@ gnome_scores_construct ( GnomeScores *gs,
tmp2[sizeof(tmp2)-1] = '\0'; /* just for sanity */
str_utf8 = g_locale_to_utf8 (tmp2, -1, NULL, NULL, NULL);
- gs->_priv->label_times[i] = gtk_label_new (str_utf8 ? str_utf8 : "");
+ gs->_priv->label_times[i] = gtk_label_new (str_utf8 ? str_utf8 : NULL);
g_free (str_utf8);
gtk_widget_show ( gs->_priv->label_times[i] );
gtk_table_attach_defaults ( gs->_priv->table, gs->_priv->label_times[i], 2, 3, i+1, i+2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]