[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-79-g2aefa8b
ticho at claws-mail.org
ticho at claws-mail.org
Thu Feb 15 10:43:07 CET 2018
The branch, gtk3 has been updated
via 2aefa8be7ec2146fa23d9faf64b08caa1bf70a0d (commit)
from 786ecbd7a8ad4202498463e238d29d5baf4b4bcc (commit)
Summary of changes:
src/editbook.c | 2 +-
src/editjpilot.c | 2 +-
src/editldap_basedn.c | 2 +-
src/editvcard.c | 2 +-
src/gtk/description_window.c | 2 +-
src/gtk/sslcertwindow.c | 2 +-
src/noticeview.c | 2 +-
src/password_gtk.c | 2 +-
src/plugins/notification/notification_banner.c | 4 ++--
src/wizard.c | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
- Log -----------------------------------------------------------------
commit 2aefa8be7ec2146fa23d9faf64b08caa1bf70a0d
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Thu Feb 15 10:42:11 2018 +0100
Use GtkSeparator instead of its deprecated predecessors.
diff --git a/src/editbook.c b/src/editbook.c
index cc66fe1..15d9921 100644
--- a/src/editbook.c
+++ b/src/editbook.c
@@ -204,7 +204,7 @@ static void addressbook_edit_book_create( gboolean *cancelled ) {
gtk_container_set_border_width( GTK_CONTAINER(hbbox), 0 );
gtk_widget_grab_default(ok_btn);
- hsep = gtk_hseparator_new();
+ hsep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_end(GTK_BOX(vbox), hsep, FALSE, FALSE, 0);
g_signal_connect(G_OBJECT(name_entry), "focus_in_event",
diff --git a/src/editjpilot.c b/src/editjpilot.c
index 631ef74..d93baf2 100644
--- a/src/editjpilot.c
+++ b/src/editjpilot.c
@@ -310,7 +310,7 @@ static void addressbook_edit_jpilot_create( gboolean *cancelled ) {
gtk_container_set_border_width( GTK_CONTAINER(hbbox), 0 );
gtk_widget_grab_default(ok_btn);
- hsep = gtk_hseparator_new();
+ hsep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_end(GTK_BOX(vbox), hsep, FALSE, FALSE, 0);
g_signal_connect(G_OBJECT(ok_btn), "clicked",
diff --git a/src/editldap_basedn.c b/src/editldap_basedn.c
index 396fffc..bf1e913 100644
--- a/src/editldap_basedn.c
+++ b/src/editldap_basedn.c
@@ -210,7 +210,7 @@ static void edit_ldap_bdn_create(void) {
gtk_container_set_border_width( GTK_CONTAINER(hbbox), 0 );
gtk_widget_grab_default(ok_btn);
- hsep = gtk_hseparator_new();
+ hsep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_end(GTK_BOX(vbox), hsep, FALSE, FALSE, 0);
g_signal_connect(G_OBJECT(ok_btn), "clicked",
diff --git a/src/editvcard.c b/src/editvcard.c
index 6911a8c..ef36a11 100644
--- a/src/editvcard.c
+++ b/src/editvcard.c
@@ -206,7 +206,7 @@ static void addressbook_edit_vcard_create( gboolean *cancelled ) {
gtk_container_set_border_width( GTK_CONTAINER(hbbox), 0 );
gtk_widget_grab_default(ok_btn);
- hsep = gtk_hseparator_new();
+ hsep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_end(GTK_BOX(vbox), hsep, FALSE, FALSE, 0);
g_signal_connect(G_OBJECT(ok_btn), "clicked",
diff --git a/src/gtk/description_window.c b/src/gtk/description_window.c
index f7b8ebc..4af26ad 100644
--- a/src/gtk/description_window.c
+++ b/src/gtk/description_window.c
@@ -134,7 +134,7 @@ static void description_create(DescriptionWindow * dwindow)
} else {
GtkWidget *separator;
- separator = gtk_hseparator_new();
+ separator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
gtk_table_attach(GTK_TABLE(table), separator,
0, dwindow->columns, line, line+1,
(GtkAttachOptions) (GTK_FILL),
diff --git a/src/gtk/sslcertwindow.c b/src/gtk/sslcertwindow.c
index bd2b6b6..60cf441 100644
--- a/src/gtk/sslcertwindow.c
+++ b/src/gtk/sslcertwindow.c
@@ -440,7 +440,7 @@ static gboolean sslcertwindow_ask_changed_cert(SSLCertificate *old_cert, SSLCert
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
gtk_box_pack_end(GTK_BOX(vbox), new_cert_widget, TRUE, TRUE, 0);
gtk_box_pack_end(GTK_BOX(vbox), label, TRUE, TRUE, 0);
- gtk_box_pack_end(GTK_BOX(vbox), gtk_hseparator_new(), TRUE, TRUE, 0);
+ gtk_box_pack_end(GTK_BOX(vbox), gtk_separator_new(GTK_ORIENTATION_HORIZONTAL), TRUE, TRUE, 0);
label = gtk_label_new(_("Known certificate:"));
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
gtk_box_pack_end(GTK_BOX(vbox), old_cert_widget, TRUE, TRUE, 0);
diff --git a/src/noticeview.c b/src/noticeview.c
index da93572..290833d 100644
--- a/src/noticeview.c
+++ b/src/noticeview.c
@@ -80,7 +80,7 @@ NoticeView *noticeview_create(MainWindow *mainwin)
vbox = gtk_vbox_new(FALSE, 4);
gtk_widget_show(vbox);
- hsep = gtk_hseparator_new();
+ hsep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_start(GTK_BOX(vbox), hsep, FALSE, TRUE, 1);
hbox = gtk_hbox_new(FALSE, 4);
diff --git a/src/password_gtk.c b/src/password_gtk.c
index 2764fbe..8836bf4 100644
--- a/src/password_gtk.c
+++ b/src/password_gtk.c
@@ -184,7 +184,7 @@ void master_passphrase_change_dialog()
/* Separator */
gtk_table_attach(GTK_TABLE(table),
- gtk_hseparator_new(), 0, 2, 1, 2,
+ gtk_separator_new(GTK_ORIENTATION_HORIZONTAL), 0, 2, 1, 2,
GTK_FILL | GTK_EXPAND, 0, 0, 5);
/* New passphrase */
diff --git a/src/plugins/notification/notification_banner.c b/src/plugins/notification/notification_banner.c
index f2b4ee9..076ac0b 100644
--- a/src/plugins/notification/notification_banner.c
+++ b/src/plugins/notification/notification_banner.c
@@ -202,7 +202,7 @@ static void notification_banner_create(GSList *msg_list)
/* Double the entrybox into hbox */
GtkWidget *separator, *second_entrybox;
- separator = gtk_vseparator_new();
+ separator = gtk_separator_new(GTK_ORIENTATION_VERTICAL);
gtk_box_pack_start(GTK_BOX(hbox), separator,
FALSE, FALSE, 0);
second_entrybox = create_entrybox(msg_list);
@@ -321,7 +321,7 @@ static GtkWidget* create_entrybox(GSList *msg_list)
if(ii > 0) {
GtkWidget *separator;
- separator = gtk_vseparator_new();
+ separator = gtk_separator_new(GTK_ORIENTATION_VERTICAL);
gtk_box_pack_start(GTK_BOX(entrybox), separator, FALSE, FALSE, 0);
}
diff --git a/src/wizard.c b/src/wizard.c
index d48fab8..6c225a6 100644
--- a/src/wizard.c
+++ b/src/wizard.c
@@ -860,7 +860,7 @@ static GtkWidget* create_page (WizardWindow *wizard, const char * title)
gtk_box_pack_start (GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
/* pack the separator */
- gtk_box_pack_start (GTK_BOX(vbox), gtk_hseparator_new(), FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX(vbox), gtk_separator_new(GTK_ORIENTATION_HORIZONTAL), FALSE, FALSE, 0);
/* pack space */
w = gtk_alignment_new (0, 0, 0, 0);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list