X-Git-Url: http://gitweb.michael.orlitzky.com/?p=xfce4-hdaps.git;a=blobdiff_plain;f=panel-plugin%2Fxfce4-hdaps.c;h=e5a781e3b7cd50915f5a7136caeee63ad13d0c79;hp=eb1d5cc81dcf7323c696fc3397473efb146f7657;hb=c6fbeea01e8de4fedf99ea8f533991277d2c8eb7;hpb=3ebc615989944f6e1a484741a2179123cf450b8c diff --git a/panel-plugin/xfce4-hdaps.c b/panel-plugin/xfce4-hdaps.c index eb1d5cc..e5a781e 100644 --- a/panel-plugin/xfce4-hdaps.c +++ b/panel-plugin/xfce4-hdaps.c @@ -256,7 +256,7 @@ static HdapsPlugin *hdaps_new(XfcePanelPlugin *plugin) { /* Set up the hvbox for the widget, which supports both horizontal and vertical (hv) orientations. */ - hdaps->hvbox = xfce_hvbox_new(orientation, FALSE, 2); + hdaps->hvbox = gtk_box_new(orientation, 2); gtk_widget_show(hdaps->hvbox); gtk_container_add(GTK_CONTAINER(hdaps->eventbox), hdaps->hvbox); @@ -310,7 +310,7 @@ static void hdaps_orientation_changed(XfcePanelPlugin *plugin, HdapsPlugin *hdaps) { /* Change the plugin's orientation. Basically magic to me. */ - xfce_hvbox_set_orientation(XFCE_HVBOX(hdaps->hvbox), orientation); + gtk_orientable_set_orientation(GTK_ORIENTABLE(hdaps->hvbox), orientation); }