hdy_expander_row_set_show_enable_switch not working properly
hdy_expander_row_set_show_enable_switch
does not work when row is created manually without glade:
#include <gtk/gtk.h>
#define HANDY_USE_UNSTABLE_API
#include <handy.h>
int main (int argc, char **argv) {
GtkWidget *window;
GtkWidget *row;
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
row = GTK_WIDGET (hdy_expander_row_new ());
hdy_action_row_set_title (HDY_ACTION_ROW (row), "Switch test");
hdy_expander_row_set_show_enable_switch (HDY_EXPANDER_ROW (row), FALSE);
gtk_container_add (GTK_CONTAINER (window), row);
gtk_widget_show_all (window);
gtk_main ();
return 0;
}