static void UnregisterObserver_cb(IntPtr inst, IntPtr action_name, IntPtr observer)
 {
     try {
         IActionObservableImplementor __obj = GLib.Object.GetObject(inst, false) as IActionObservableImplementor;
         __obj.UnregisterObserver(GLib.Marshaller.Utf8PtrToString(action_name), Gtk.ActionObserverAdapter.GetObject(observer, false));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
 public ActionObservableAdapter(IActionObservableImplementor implementor)
 {
     if (implementor == null)
     {
         throw new ArgumentNullException("implementor");
     }
     else if (!(implementor is GLib.Object))
     {
         throw new ArgumentException("implementor must be a subclass of GLib.Object");
     }
     this.implementor = implementor as GLib.Object;
 }