[ekiga] Minor code simplification
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Minor code simplification
- Date: Mon, 10 Jan 2011 21:35:27 +0000 (UTC)
commit 9f5039eff94d19399e998d5e64df6b74706f8511
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Mon Jan 10 22:35:02 2011 +0100
Minor code simplification
src/gui/assistant.cpp | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/gui/assistant.cpp b/src/gui/assistant.cpp
index ea41142..470fae3 100644
--- a/src/gui/assistant.cpp
+++ b/src/gui/assistant.cpp
@@ -622,9 +622,7 @@ create_ekiga_net_page (EkigaAssistant *assistant)
g_signal_connect (button, "clicked",
G_CALLBACK (ekiga_net_button_clicked_cb), NULL);
- assistant->priv->skip_ekiga_net = gtk_check_button_new ();
- label = gtk_label_new (_("I do not want to sign up for the ekiga.net free service"));
- gtk_container_add (GTK_CONTAINER (assistant->priv->skip_ekiga_net), label);
+ assistant->priv->skip_ekiga_net = gtk_check_button_new (_("I do not want to sign up for the ekiga.net free service"));
align = gtk_alignment_new (0, 1.0, 0, 0);
gtk_container_add (GTK_CONTAINER (align), assistant->priv->skip_ekiga_net);
gtk_box_pack_start (GTK_BOX (vbox), align, TRUE, TRUE, 0);
@@ -764,9 +762,7 @@ create_ekiga_out_page (EkigaAssistant *assistant)
g_signal_connect (button, "clicked",
G_CALLBACK (ekiga_out_history_calls_clicked_cb), assistant);
- assistant->priv->skip_ekiga_out = gtk_check_button_new ();
- label = gtk_label_new (_("I do not want to sign up for the Ekiga Call Out service"));
- gtk_container_add (GTK_CONTAINER (assistant->priv->skip_ekiga_out), label);
+ assistant->priv->skip_ekiga_out = gtk_check_button_new (_("I do not want to sign up for the Ekiga Call Out service"));
align = gtk_alignment_new (0, 1.0, 0, 0);
gtk_container_add (GTK_CONTAINER (align), assistant->priv->skip_ekiga_out);
gtk_box_pack_start (GTK_BOX (vbox), align, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]