[gimp] web-page: Return correct flag when action is cancelled
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] web-page: Return correct flag when action is cancelled
- Date: Thu, 31 Mar 2011 03:24:26 +0000 (UTC)
commit 0382e204d9f8ead707afda39f83926930518d0f3
Author: Mukund Sivaraman <muks banu com>
Date: Thu Mar 31 08:41:53 2011 +0530
web-page: Return correct flag when action is cancelled
plug-ins/common/web-page.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/web-page.c b/plug-ins/common/web-page.c
index f377f7b..b3b3a74 100644
--- a/plug-ins/common/web-page.c
+++ b/plug-ins/common/web-page.c
@@ -188,7 +188,8 @@ webpage_dialog (void)
GtkWidget *image;
GtkWidget *label;
GtkWidget *entry;
- gboolean status;
+ gint status;
+ gboolean ret = FALSE;
gimp_ui_init (PLUG_IN_BINARY, FALSE);
@@ -249,11 +250,13 @@ webpage_dialog (void)
{
g_free (webpagevals.url);
webpagevals.url = g_strdup (gtk_entry_get_text (GTK_ENTRY (entry)));
+
+ ret = TRUE;
}
gtk_widget_destroy (dialog);
- return status;
+ return ret;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]