gimp r26267 - in branches/soc-2008-tagging: . app/widgets
- From: aurisj svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26267 - in branches/soc-2008-tagging: . app/widgets
- Date: Mon, 21 Jul 2008 22:24:26 +0000 (UTC)
Author: aurisj
Date: Mon Jul 21 22:24:25 2008
New Revision: 26267
URL: http://svn.gnome.org/viewvc/gimp?rev=26267&view=rev
Log:
2008-07-22 Aurimas JuÅka <aurisj svn gnome org>
* app/widgets/gimptagentry.c (gimp_tag_entry_focus_in),
(gimp_tag_entry_toggle_desc): fixed ill recursion which later results
in segmentation fault.
Modified:
branches/soc-2008-tagging/ChangeLog
branches/soc-2008-tagging/app/widgets/gimptagentry.c
Modified: branches/soc-2008-tagging/app/widgets/gimptagentry.c
==============================================================================
--- branches/soc-2008-tagging/app/widgets/gimptagentry.c (original)
+++ branches/soc-2008-tagging/app/widgets/gimptagentry.c Mon Jul 21 22:24:25 2008
@@ -625,7 +625,13 @@
GdkEventFocus *event,
gpointer user_data)
{
+ GimpTagEntry *tag_entry = GIMP_TAG_ENTRY (widget);
gimp_tag_entry_toggle_desc (GIMP_TAG_ENTRY (widget), FALSE);
+ if (tag_entry->mode == GIMP_TAG_ENTRY_MODE_ASSIGN)
+ {
+ gimp_tag_entry_load_selection (tag_entry);
+ }
+
return FALSE;
}
@@ -687,10 +693,6 @@
else
{
tag_entry->description_shown = FALSE;
- if (tag_entry->mode == GIMP_TAG_ENTRY_MODE_ASSIGN)
- {
- gimp_tag_entry_load_selection (tag_entry);
- }
gtk_widget_queue_draw (widget);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]