gtk+ r19941 - in branches/gtk-2-12: . gtk
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19941 - in branches/gtk-2-12: . gtk
- Date: Fri, 28 Mar 2008 16:26:35 +0000 (GMT)
Author: tml
Date: Fri Mar 28 16:26:35 2008
New Revision: 19941
URL: http://svn.gnome.org/viewvc/gtk+?rev=19941&view=rev
Log:
2008-03-28 Tor Lillqvist <tml novell com>
Bug 524422 - assertion when filechooser current name set to string
containing disallowed characters
* gtk/gtkfilechooserentry.c (check_completion_callback): Patch by
Daniel Atallah.
Modified:
branches/gtk-2-12/ChangeLog
branches/gtk-2-12/gtk/gtkfilechooserentry.c
Modified: branches/gtk-2-12/gtk/gtkfilechooserentry.c
==============================================================================
--- branches/gtk-2-12/gtk/gtkfilechooserentry.c (original)
+++ branches/gtk-2-12/gtk/gtkfilechooserentry.c Fri Mar 28 16:26:35 2008
@@ -523,11 +523,9 @@
{
GDK_THREADS_ENTER ();
- g_assert (chooser_entry->file_part);
-
chooser_entry->check_completion_idle = 0;
- if (strcmp (chooser_entry->file_part, "") == 0)
+ if (chooser_entry->file_part == NULL || strcmp (chooser_entry->file_part, "") == 0)
goto done;
/* We only insert the common prefix without requiring the user to hit Tab in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]