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 178ab66b3d86a4b6e732d6f269f868b674017c14 Author: Landry Breuil <[email protected]> Date: Sun May 1 11:22:46 2016 +0200 Use GtkOrientable instead of *_set_orientation --- panel-plugin/datetime.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/panel-plugin/datetime.c b/panel-plugin/datetime.c index d85bb05..66a8f6f 100644 --- a/panel-plugin/datetime.c +++ b/panel-plugin/datetime.c @@ -590,12 +590,11 @@ void datetime_write_rc_file(XfcePanelPlugin *plugin, t_datetime *dt) */ static void datetime_set_mode(XfcePanelPlugin *plugin, XfcePanelPluginMode mode, t_datetime *datetime) { - GtkOrientation panel_orientation = xfce_panel_plugin_get_orientation (plugin); GtkOrientation orientation = (mode == XFCE_PANEL_PLUGIN_MODE_VERTICAL) ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL; if (orientation == GTK_ORIENTATION_VERTICAL) { - xfce_hvbox_set_orientation(XFCE_HVBOX(datetime->box), GTK_ORIENTATION_HORIZONTAL); + gtk_orientable_set_orientation(GTK_ORIENTABLE(datetime->box), GTK_ORIENTATION_HORIZONTAL); gtk_label_set_angle(GTK_LABEL(datetime->time_label), -90); gtk_label_set_angle(GTK_LABEL(datetime->date_label), -90); gtk_box_reorder_child(GTK_BOX(datetime->box), datetime->time_label, 0); @@ -603,7 +602,7 @@ static void datetime_set_mode(XfcePanelPlugin *plugin, XfcePanelPluginMode mode, } else { - xfce_hvbox_set_orientation(XFCE_HVBOX(datetime->box), GTK_ORIENTATION_VERTICAL); + gtk_orientable_set_orientation(GTK_ORIENTABLE(datetime->box), GTK_ORIENTATION_VERTICAL); gtk_label_set_angle(GTK_LABEL(datetime->time_label), 0); gtk_label_set_angle(GTK_LABEL(datetime->date_label), 0); gtk_box_reorder_child(GTK_BOX(datetime->box), datetime->date_label, 0); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
