gimp r26266 - in branches/soc-2008-tagging: . app/widgets



Author: aurisj
Date: Mon Jul 21 20:54:03 2008
New Revision: 26266
URL: http://svn.gnome.org/viewvc/gimp?rev=26266&view=rev

Log:
2008-07-21  Aurimas JuÅka  <aurisj svn gnome org>

	* app/widgets/gimpdatafactoryview.c
	(gimp_data_factory_view_construct): sort GimpData resources in correct
	order.



Modified:
   branches/soc-2008-tagging/ChangeLog
   branches/soc-2008-tagging/app/widgets/gimpdatafactoryview.c

Modified: branches/soc-2008-tagging/app/widgets/gimpdatafactoryview.c
==============================================================================
--- branches/soc-2008-tagging/app/widgets/gimpdatafactoryview.c	(original)
+++ branches/soc-2008-tagging/app/widgets/gimpdatafactoryview.c	Mon Jul 21 20:54:03 2008
@@ -37,6 +37,7 @@
 #include "core/gimpdata.h"
 #include "core/gimpdatafactory.h"
 #include "core/gimpfilteredcontainer.h"
+#include "core/gimplist.h"
 #include "core/gimpmarshal.h"
 
 #include "gimpcombotagentry.h"
@@ -152,6 +153,8 @@
 
   factory_view->factory = factory;
   factory_view->filtered_container = gimp_filtered_container_new (factory->container);
+  gimp_list_set_sort_func (GIMP_LIST (factory_view->filtered_container),
+                           (GCompareFunc) gimp_data_compare);
 
   if (! gimp_container_editor_construct (GIMP_CONTAINER_EDITOR (factory_view),
                                          view_type,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]