[gimp] app: gimp_display_shell_selection_init(): fix declaration after statement
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: gimp_display_shell_selection_init(): fix declaration after statement
- Date: Fri, 21 Jun 2013 12:39:21 +0000 (UTC)
commit 6ad70e33e67b3b4bd8767891356977eea85fdbb0
Author: Michael Natterer <mitch gimp org>
Date: Fri Jun 21 14:37:56 2013 +0200
app: gimp_display_shell_selection_init(): fix declaration after statement
app/display/gimpdisplayshell-selection.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-selection.c b/app/display/gimpdisplayshell-selection.c
index 7362177..172c014 100644
--- a/app/display/gimpdisplayshell-selection.c
+++ b/app/display/gimpdisplayshell-selection.c
@@ -115,10 +115,12 @@ gimp_display_shell_selection_init (GimpDisplayShell *shell)
void
gimp_display_shell_selection_free (GimpDisplayShell *shell)
{
+ Selection *selection;
+
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
g_return_if_fail (shell->selection != NULL);
- Selection *selection = shell->selection;
+ selection = shell->selection;
selection_stop (selection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]