title: Possible to reuse my GCancellable instance?
body: <p>Before triggering a proxy-call via gdbus, I want to cancel any possible pending calls on this dbus method. My first attempt was like that:</p>
  
  <pre><code>// in the "member" list of my widget
  GCancellable   *my_cancellable;
  
  // in the init method of my widget:
  plugin-&gt;my_cancellable = g_cancellable_new ();
  
  // in the method which does the call
  g_cancellable_cancel (plugin-&gt;my_cancellable);
  my_gdbus_call_something (plugin-&gt;proxy, plugin-&gt;my_cancellable, reply_handler,plugin);
  </code></pre>
  
  <p>That did not work out, since using the same cancellable instance as well will cancel any future call.
  Looks like I cannot use <a href="https://developer.gnome.org/gio/stable/GCancellable.html#g-cancellable-reset" rel="nofollow noreferrer">g_cancellable_reset</a>, since the doc stats the following:</p>
  
  <blockquote>
    <p>If cancellable is currently in use by any cancellable operation then
    the behavior of this function is undefined.</p>
  </blockquote>
  
  <p>Is it possible to check the in-use state of my GCancellable? Would it help me at all ?</p>
  
  <p>What already works fine for me is to create a new cancellable for each call:</p>
  
  <pre><code>// in the "member" list of my widget
  GCancellable   *my_cancellable;
  
  // in the init method of my widget:
  plugin-&gt;my_cancellable = NULL;
  
  // in the method which does the call
  if(plugin-&gt;my_cancellable != NULL)
    {
      g_cancellable_cancel (plugin-&gt;my_cancellable);
      g_object_unref (plugin-&gt;my_cancellable);
    }
  plugin-&gt;my_cancellable = g_cancellable_new ();
  my_gdbus_call_something (plugin-&gt;proxy, plugin-&gt;my_cancellable, reply_handler,plugin);
  </code></pre>
  
  <p>Is it save to unref my_cancellable, considered there is a pending call ? This must be a standard use-case .. I wonder if there is no better solution.</p>