[gimp] app: don't use GET_PRIVATE() before the precondition check
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't use GET_PRIVATE() before the precondition check
- Date: Thu, 14 Oct 2010 15:33:31 +0000 (UTC)
commit b24c25d31764a5868e4f6f6a5ce8f002b57330b7
Author: Michael Natterer <mitch gimp org>
Date: Thu Oct 14 17:33:07 2010 +0200
app: don't use GET_PRIVATE() before the precondition check
app/widgets/gimpcontainertreestore.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpcontainertreestore.c b/app/widgets/gimpcontainertreestore.c
index cd1e956..39d564a 100644
--- a/app/widgets/gimpcontainertreestore.c
+++ b/app/widgets/gimpcontainertreestore.c
@@ -333,7 +333,7 @@ gimp_container_tree_store_reorder_item (GimpContainerTreeStore *store,
gint new_index,
GtkTreeIter *iter)
{
- GimpContainerTreeStorePrivate *private = GET_PRIVATE (store);
+ GimpContainerTreeStorePrivate *private;
GimpViewable *parent;
GimpContainer *container;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]