static void SetSortFunc_cb(IntPtr inst, GtkSharp.RecentSortFuncNative sort_func, IntPtr sort_data, GLib.DestroyNotify data_destroy) { try { IRecentChooserImplementor __obj = GLib.Object.GetObject(inst, false) as IRecentChooserImplementor; GtkSharp.RecentSortFuncInvoker sort_func_invoker = new GtkSharp.RecentSortFuncInvoker(sort_func, sort_data, data_destroy); __obj.SortFunc = sort_func_invoker.Handler; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static void SetSortFunc_cb (IntPtr inst, GtkSharp.RecentSortFuncNative sort_func, IntPtr sort_data, GLib.DestroyNotify data_destroy) { try { IRecentChooserImplementor __obj = GLib.Object.GetObject (inst, false) as IRecentChooserImplementor; GtkSharp.RecentSortFuncInvoker sort_func_invoker = new GtkSharp.RecentSortFuncInvoker (sort_func, sort_data, data_destroy); __obj.SortFunc = sort_func_invoker.Handler; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, false); } }