This is an automated email from the git hooks/post-receive script. landry pushed a commit to branch master in repository panel-plugins/xfce4-datetime-plugin.
commit e11a9bdeb6b26582da6476f784b7f4aa8d3c17cb Author: Landry Breuil <lan...@xfce.org> Date: Sun May 1 11:25:53 2016 +0200 Use GtkBox instead of XfceHVBox/GtkHBox/GtkVBox --- panel-plugin/datetime-dialog.c | 20 ++++++++++---------- panel-plugin/datetime.c | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/panel-plugin/datetime-dialog.c b/panel-plugin/datetime-dialog.c index f9c4277..bcb242f 100644 --- a/panel-plugin/datetime-dialog.c +++ b/panel-plugin/datetime-dialog.c @@ -372,11 +372,11 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) gtk_container_set_border_width(GTK_CONTAINER(frame), 6); /* vbox */ - vbox = gtk_vbox_new(FALSE, 8); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_container_add(GTK_CONTAINER(bin),vbox); /* hbox */ - hbox = gtk_hbox_new(FALSE, 2); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); /* Format label */ @@ -406,7 +406,7 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) gtk_container_set_border_width(GTK_CONTAINER(datetime->date_frame), 6); /* vbox */ - vbox = gtk_vbox_new(FALSE, 8); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_container_add(GTK_CONTAINER(bin),vbox); /* tooltip label */ @@ -419,7 +419,7 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) gtk_box_pack_start(GTK_BOX(vbox), datetime->date_tooltip_label, FALSE, FALSE, 0); /* hbox */ - datetime->date_font_hbox = gtk_hbox_new(FALSE, 2); + datetime->date_font_hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); gtk_box_pack_start(GTK_BOX(vbox), datetime->date_font_hbox, FALSE, FALSE, 0); /* font label */ @@ -436,7 +436,7 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) datetime->date_font_selector = button; /* hbox */ - hbox = gtk_hbox_new(FALSE, 2); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); /* format label */ @@ -485,7 +485,7 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) datetime->date_format_combobox = date_combobox; /* hbox */ - hbox = gtk_hbox_new(FALSE, 2); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); /* format entry */ @@ -507,7 +507,7 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) gtk_container_set_border_width(GTK_CONTAINER(datetime->time_frame), 6); /* vbox */ - vbox = gtk_vbox_new(FALSE, 8); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_container_add(GTK_CONTAINER(bin),vbox); /* tooltip label */ @@ -520,7 +520,7 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) gtk_box_pack_start(GTK_BOX(vbox), datetime->time_tooltip_label, FALSE, FALSE, 0); /* hbox */ - datetime->time_font_hbox = gtk_hbox_new(FALSE, 2); + datetime->time_font_hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); gtk_box_pack_start(GTK_BOX(vbox), datetime->time_font_hbox, FALSE, FALSE, 0); /* font label */ @@ -537,7 +537,7 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) datetime->time_font_selector = button; /* hbox */ - hbox = gtk_hbox_new(FALSE, 2); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); /* format label */ @@ -586,7 +586,7 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime) datetime->time_format_combobox = time_combobox; /* hbox */ - hbox = gtk_hbox_new(FALSE, 2); + hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 2); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); /* format entry */ diff --git a/panel-plugin/datetime.c b/panel-plugin/datetime.c index 66a8f6f..de65bff 100644 --- a/panel-plugin/datetime.c +++ b/panel-plugin/datetime.c @@ -623,7 +623,7 @@ static void datetime_create_widget(t_datetime * datetime) gtk_widget_show(datetime->button); /* create a box which can be easily adapted to the panel orientation */ - datetime->box = xfce_hvbox_new(GTK_ORIENTATION_VERTICAL, TRUE, 0); + datetime->box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_show(datetime->box); gtk_container_add(GTK_CONTAINER(datetime->button), datetime->box); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits