[longomatch] Fixes Gtk-CRITICAL **: void gtk_entry_set_text(GtkEntry *, const gchar *): assertion 'text != NULL'
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fixes Gtk-CRITICAL **: void gtk_entry_set_text(GtkEntry *, const gchar *): assertion 'text != NULL'
- Date: Mon, 27 Apr 2015 22:23:03 +0000 (UTC)
commit b3c2d126bc1091dcddbf9241b14ef95f4e4c13d1
Author: Josep Torra <n770galaxy gmail com>
Date: Mon Apr 27 12:56:06 2015 +0200
Fixes Gtk-CRITICAL **: void gtk_entry_set_text(GtkEntry *, const gchar *): assertion 'text != NULL' failed
LongoMatch.GUI/Gui/Component/MediaFileChooser.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
b/LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
index 6466ca2..6778ef8 100644
--- a/LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
+++ b/LongoMatch.GUI/Gui/Component/MediaFileChooser.cs
@@ -41,7 +41,7 @@ namespace LongoMatch.Gui.Component
// The name entry is only visible when not empty
nameentry.Visible = !String.IsNullOrEmpty (name);
- nameentry.Text = name;
+ nameentry.Text = name ?? "";
addbuttonimage.Pixbuf = Helpers.Misc.LoadIcon ("longomatch-browse",
Gtk.IconSize.Button, 0);
clearbuttonimage.Pixbuf = Helpers.Misc.LoadStockIcon (clearbuttonimage, "gtk-clear",
Gtk.IconSize.Button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]