[Xfce4-commits] [panel-plugins/xfce4-mpc-plugin] 03/05: Use the newly added resize_button()
noreply at xfce.org
noreply at xfce.org
Tue Nov 1 15:28:42 CET 2016
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository panel-plugins/xfce4-mpc-plugin.
commit 391184e0c600af1e4c521e674095aed404012f51
Author: Landry Breuil <landry at xfce.org>
Date: Tue Nov 1 15:25:27 2016 +0100
Use the newly added resize_button()
---
panel-plugin/xfce4-mpc-plugin.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/panel-plugin/xfce4-mpc-plugin.c b/panel-plugin/xfce4-mpc-plugin.c
index 4f11a0e..5af370d 100644
--- a/panel-plugin/xfce4-mpc-plugin.c
+++ b/panel-plugin/xfce4-mpc-plugin.c
@@ -67,10 +67,10 @@ mpc_set_size (XfcePanelPlugin * plugin, int size, t_mpc * mpc)
DBG ("size=%d",size);
gtk_container_set_border_width (GTK_CONTAINER (mpc->frame), border_width);
size -= 2 * border_width;
- gtk_widget_set_size_request (GTK_WIDGET (mpc->next), size, size);
- gtk_widget_set_size_request (GTK_WIDGET (mpc->prev), size, size);
- gtk_widget_set_size_request (GTK_WIDGET (mpc->stop), size, size);
- gtk_widget_set_size_request (GTK_WIDGET (mpc->toggle), size, size);
+ resize_button (GTK_WIDGET (mpc->next), size);
+ resize_button (GTK_WIDGET (mpc->prev), size);
+ resize_button (GTK_WIDGET (mpc->stop), size);
+ resize_button (GTK_WIDGET (mpc->toggle), size);
return TRUE;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list