Yeah, that's my patch & code Alas, different programs vary. But, in general, you want to link to hildon-1 (that's my Makefile change), add that hildon include to whatever file you're adding hildon functions to, replace the gtk_window_new toplevel with the hildon_window_new. For the menu, I changed it from a menubar to a normal menu as hildon doesn't like menubars, removed the gtk_box_start as that's how the menubar is shown and replaced it with the hildon menu new. First argument to that function is the hildon window, the second argument is the menu (look at the second argument passed to the gtk_box start for the menu) if you want to #ifdef hildon code, use #ifdef MAEMO_CHANGES as when you compile against hildon-1, -DMAEMO_CHANGES will be sent to gcc.