[gimp] app: fix layer-options-dialog.c return width and height again
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix layer-options-dialog.c return width and height again
- Date: Thu, 27 Oct 2016 19:01:21 +0000 (UTC)
commit f47c012ab5520c61ca949db298996f37b9dc764f
Author: Michael Natterer <mitch gimp org>
Date: Thu Oct 27 21:00:14 2016 +0200
app: fix layer-options-dialog.c return width and height again
Being able to create layers is important...
app/dialogs/layer-options-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/dialogs/layer-options-dialog.c b/app/dialogs/layer-options-dialog.c
index e501a8a..730a08f 100644
--- a/app/dialogs/layer-options-dialog.c
+++ b/app/dialogs/layer-options-dialog.c
@@ -417,7 +417,7 @@ layer_options_dialog_callback (GtkWidget *dialog,
gint offset_x;
gint offset_y;
- if (item)
+ if (private->size_se)
{
width =
RINT (gimp_size_entry_get_refval (GIMP_SIZE_ENTRY (private->size_se),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]