]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/blobdiff - panel-plugin/xfce4-hdaps.c
panel-plugin: replace XFCE_HVBOX with new GtkBox API.
[xfce4-hdaps.git] / panel-plugin / xfce4-hdaps.c
index eb1d5cc81dcf7323c696fc3397473efb146f7657..e5a781e3b7cd50915f5a7136caeee63ad13d0c79 100644 (file)
@@ -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);
 }