gimp r27815 - in trunk: . app/widgets
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27815 - in trunk: . app/widgets
- Date: Sat, 20 Dec 2008 13:21:03 +0000 (UTC)
Author: martinn
Date: Sat Dec 20 13:21:03 2008
New Revision: 27815
URL: http://svn.gnome.org/viewvc/gimp?rev=27815&view=rev
Log:
Bug 555954 â Merge Tagging of Gimp Resources GSoC Project
Partial merge of code from Aurimas JuÅka.
* app/widgets/gimpbrushfactoryview.c: Use the same method for
getting the GimpContainer both when adding and when removing the
spacing-changed handler. It was just a coincidence that the
previously different methods retured the same GimpContainer.
Modified:
trunk/ChangeLog
trunk/app/widgets/gimpbrushfactoryview.c
Modified: trunk/app/widgets/gimpbrushfactoryview.c
==============================================================================
--- trunk/app/widgets/gimpbrushfactoryview.c (original)
+++ trunk/app/widgets/gimpbrushfactoryview.c Sat Dec 20 13:21:03 2008
@@ -102,9 +102,11 @@
if (view->spacing_changed_handler_id)
{
- GimpContainer *container;
+ GimpDataFactory *factory;
+ GimpContainer *container;
- container = gimp_container_view_get_container (editor->view);
+ factory = gimp_data_factory_view_get_data_factory (GIMP_DATA_FACTORY_VIEW (editor));
+ container = gimp_data_factory_get_container (factory);
gimp_container_remove_handler (container,
view->spacing_changed_handler_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]