[Xfce4-commits] <xfce4-wavelan-plugin:master> use xfce_panel_image_set_size()
Landry Breuil
noreply at xfce.org
Sun Jun 17 22:02:01 CEST 2012
Updating branch refs/heads/master
to b26808c146b2c784c6bb847a6c391a50a33a7cd5 (commit)
from 9f2c3ccbe58e615d9e600102ef0315e1e901beff (commit)
commit b26808c146b2c784c6bb847a6c391a50a33a7cd5
Author: Landry Breuil <landry at xfce.org>
Date: Sun Jun 17 22:01:04 2012 +0200
use xfce_panel_image_set_size()
panel-plugin/wavelan.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 006bbd2..1699508 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -428,7 +428,7 @@ wavelan_set_size(XfcePanelPlugin* plugin, int size, t_wavelan *wavelan)
border_width = size > 26 ? 2 : 1;
wavelan->size = size;
image_size = wavelan->size - (2 * border_width);
- gtk_widget_set_size_request(GTK_WIDGET(wavelan->image), image_size, image_size);
+ xfce_panel_image_set_size(XFCE_PANEL_IMAGE(wavelan->image), image_size);
gtk_container_set_border_width(GTK_CONTAINER(wavelan->box), border_width);
if (wavelan->orientation == GTK_ORIENTATION_HORIZONTAL)
gtk_widget_set_size_request(wavelan->ebox, -1, wavelan->size);
More information about the Xfce4-commits
mailing list