[zenity/jjardon/no_deprecated: 11/17] password: Use gtk_box instead gtk_[v|h]box
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [zenity/jjardon/no_deprecated: 11/17] password: Use gtk_box instead gtk_[v|h]box
- Date: Sun, 22 Mar 2015 09:11:49 +0000 (UTC)
commit 57d6bd308715eb42857191e40c85e8277d65178d
Author: Javier Jardón <jjardon gnome org>
Date: Sun Mar 22 07:19:56 2015 +0000
password: Use gtk_box instead gtk_[v|h]box
src/password.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/password.c b/src/password.c
index be3bcf4..32be61e 100644
--- a/src/password.c
+++ b/src/password.c
@@ -55,7 +55,7 @@ void zenity_password_dialog (ZenityData *data, ZenityPasswordData *password_data
GTK_ICON_SIZE_DIALOG);
gtk_dialog_set_default_response(GTK_DIALOG(dialog),
GTK_RESPONSE_OK);
- hbox = gtk_hbox_new(FALSE, 5);
+ hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5);
gtk_box_pack_start(GTK_BOX(hbox),
image,
FALSE,
@@ -81,10 +81,10 @@ void zenity_password_dialog (ZenityData *data, ZenityPasswordData *password_data
TRUE,
5);
- vbox_labels = gtk_vbox_new(FALSE, 5);
- vbox_entries = gtk_vbox_new(FALSE, 5);
+ vbox_labels = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5);
+ vbox_entries = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5);
- hbox = gtk_hbox_new(FALSE, 5);
+ hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5);
gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))),
hbox,
FALSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]