[Xfce4-commits] [panel-plugins/xfce4-systemload-plugin] 02/02: drop now useless gtk_widget_set_size_request() calls
noreply at xfce.org
noreply at xfce.org
Sat Dec 24 23:30:03 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-systemload-plugin.
commit 5d2b49ad38c7cd193c34cdadb49d9f347769796c
Author: Landry Breuil <landry at xfce.org>
Date: Sat Dec 24 23:29:54 2016 +0100
drop now useless gtk_widget_set_size_request() calls
---
panel-plugin/systemload.c | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index a640f4c..9b4f91e 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -627,24 +627,8 @@ monitor_write_config(XfcePanelPlugin *plugin, t_global_monitor *global)
static gboolean
monitor_set_size(XfcePanelPlugin *plugin, int size, t_global_monitor *global)
{
- gint count;
gtk_container_set_border_width (GTK_CONTAINER (global->ebox), (size > 26 ? 2 : 1));
- for(count = 0; count < 3; count++)
- {
- if (xfce_panel_plugin_get_orientation (plugin) ==
- GTK_ORIENTATION_HORIZONTAL)
- {
- gtk_widget_set_size_request(GTK_WIDGET(global->monitor[count]->status),
- 8, -1);
- }
- else
- {
- gtk_widget_set_size_request(GTK_WIDGET(global->monitor[count]->status),
- -1, 8);
- }
- }
-
setup_monitor(global);
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