[Xfce4-commits] [panel-plugins/xfce4-time-out-plugin] 03/15: Use GtkOrientable instead of *_set_orientation
noreply at xfce.org
noreply at xfce.org
Fri Oct 4 05:13:38 CEST 2019
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-time-out-plugin.
commit 28fd4f3c12a4f79d6628411ca3f20422b4eabf65
Author: Skunnyk <skunnyk at alteroot.org>
Date: Thu May 19 13:17:40 2016 +0200
Use GtkOrientable instead of *_set_orientation
---
panel-plugin/time-out-lock-screen.c | 2 +-
panel-plugin/time-out.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/time-out-lock-screen.c b/panel-plugin/time-out-lock-screen.c
index 6b3e111..36dbe7f 100644
--- a/panel-plugin/time-out-lock-screen.c
+++ b/panel-plugin/time-out-lock-screen.c
@@ -211,7 +211,7 @@ time_out_lock_screen_init (TimeOutLockScreen *lock_screen)
/* Create a progress bar to visually display the remaining tme */
lock_screen->progress = gtk_progress_bar_new ();
- gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (lock_screen->progress), GTK_PROGRESS_LEFT_TO_RIGHT);
+ gtk_orientable_set_orientation(GTK_ORIENTABLE(lock_screen->progress),GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_start (GTK_BOX (vbox), lock_screen->progress, FALSE, FALSE, 0);
gtk_widget_show (lock_screen->progress);
diff --git a/panel-plugin/time-out.c b/panel-plugin/time-out.c
index d537d87..2abefdf 100644
--- a/panel-plugin/time-out.c
+++ b/panel-plugin/time-out.c
@@ -414,7 +414,7 @@ time_out_orientation_changed (XfcePanelPlugin *plugin,
g_return_if_fail (time_out != NULL);
/* Apply orientation to hvbox */
- xfce_hvbox_set_orientation (XFCE_HVBOX (time_out->hvbox), orientation);
+ gtk_orientable_set_orientation(GTK_ORIENTABLE(global->box), orientation);
}
static void
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list