static void prepared_cb(IntPtr druid_page, IntPtr druid) { try { DruidPage druid_page_managed = GLib.Object.GetObject(druid_page, false) as DruidPage; druid_page_managed.OnPrepared(GLib.Object.GetObject(druid) as Gtk.Widget); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static bool nextclicked_cb(IntPtr druid_page, IntPtr druid) { try { DruidPage druid_page_managed = GLib.Object.GetObject(druid_page, false) as DruidPage; return(druid_page_managed.OnNextClicked(GLib.Object.GetObject(druid) as Gtk.Widget)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call doesn't return throw e; } }