[ekiga/ds-gtk-application] Form: Removed useless gtk_widget_hide calls.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] Form: Removed useless gtk_widget_hide calls.
- Date: Sun, 28 Sep 2014 16:07:51 +0000 (UTC)
commit fe61711cd6bcf0ef4cdb681aff64c25081371fb4
Author: Damien Sandras <dsandras seconix com>
Date: Sun Sep 28 17:24:49 2014 +0200
Form: Removed useless gtk_widget_hide calls.
lib/engine/gui/gtk-core/form-dialog-gtk.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/lib/engine/gui/gtk-core/form-dialog-gtk.cpp b/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
index bd01a3a..5366e4e 100644
--- a/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
+++ b/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
@@ -762,6 +762,7 @@ FormDialog::run ()
if (advanced_rows > 0)
gtk_widget_show_all (expander);
gtk_widget_show (window);
+
switch (gtk_dialog_run (GTK_DIALOG (window))) {
case GTK_RESPONSE_ACCEPT:
@@ -1411,8 +1412,6 @@ FormDialog::submit ()
{
Ekiga::FormBuilder builder;
- gtk_widget_hide (GTK_WIDGET (window));
-
for (std::list<Submitter *>::iterator iter = submitters.begin ();
iter != submitters.end ();
iter++)
@@ -1425,7 +1424,6 @@ FormDialog::submit ()
void
FormDialog::cancel ()
{
- gtk_widget_hide (GTK_WIDGET (window));
request->cancel ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]