xchat-gnome r2644 - in trunk: . src/fe-gnome
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: xchat-gnome r2644 - in trunk: . src/fe-gnome
- Date: Mon, 1 Sep 2008 17:51:02 +0000 (UTC)
Author: chpe
Date: Mon Sep 1 17:51:02 2008
New Revision: 2644
URL: http://svn.gnome.org/viewvc/xchat-gnome?rev=2644&view=rev
Log:
* src/fe-gnome/fe-gnome.c: (get_str_response),
(get_number_response): Destroy the dialogue irrespective of the
response code.
Modified:
trunk/ChangeLog
trunk/src/fe-gnome/fe-gnome.c
Modified: trunk/src/fe-gnome/fe-gnome.c
==============================================================================
--- trunk/src/fe-gnome/fe-gnome.c (original)
+++ trunk/src/fe-gnome/fe-gnome.c Mon Sep 1 17:51:02 2008
@@ -814,14 +814,15 @@
switch (arg1) {
case GTK_RESPONSE_REJECT:
callback (TRUE, text, user_data);
- gtk_widget_destroy (GTK_WIDGET (dialog));
break;
case GTK_RESPONSE_ACCEPT:
callback (FALSE, text, user_data);
- gtk_widget_destroy (GTK_WIDGET (dialog));
break;
}
+
+ gtk_widget_destroy (GTK_WIDGET (dialog));
}
+
static void
str_enter (GtkWidget * entry, GtkWidget * dialog)
{
@@ -873,13 +874,13 @@
switch (arg1) {
case GTK_RESPONSE_REJECT:
callback (TRUE, num, user_data);
- gtk_widget_destroy (GTK_WIDGET (dialog));
break;
case GTK_RESPONSE_ACCEPT:
callback (FALSE, num, user_data);
- gtk_widget_destroy (GTK_WIDGET (dialog));
break;
}
+
+ gtk_widget_destroy (GTK_WIDGET (dialog));
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]