So, code like that:
gtk_theming_engine_get (engine, state, /* Can't use border-radius as it's an int for * backwards compat */ "border-top-left-radius", &top_left_radius, "border-top-right-radius", &top_right_radius, "border-bottom-right-radius", &bottom_right_radius, "border-bottom-left-radius", &bottom_left_radius, NULL);
is making the engine crash.
what we need to do is replace this with an alternative. Now gtk uses GtkCssValue, we might want to switch over this.
So, code like that: engine_ get (engine, state,
/* Can't use border-radius as it's an int for
* backwards compat */
"border- top-left- radius" , &top_left_radius,
"border- top-right- radius" , &top_right_radius,
"border- bottom- right-radius" , &bottom_ right_radius,
"border- bottom- left-radius" , &bottom_ left_radius,
NULL) ;
gtk_theming_
is making the engine crash.
what we need to do is replace this with an alternative. Now gtk uses GtkCssValue, we might want to switch over this.
The main unico files that need to be updated is gtkroundedbox.c and gtkroundedboxpr ivate.h, which were taken from gtk. We need to upgrade following this commit http:// git.gnome. org/browse/ gtk+/commit/ gtk/gtkroundedb ox.c?id= edbc8e4f57b871e e151443fe867f6e 347682fe8d and switch to the new struts, copying what needed.
Another file that was using those calls is unico-draw.c, while rendering the frame_gap. Again, check gtk to see how it changed.
I know it's ugly, but likely in ubuntu 13.04 we could use CSS for our themes, currently Ambiance requires some extensions thus unico