Logo Search packages:      
Sourcecode: libhildonmime version File versions  Download package

void hildon_uri_action_unref ( HildonURIAction *  action  ) 

hildon_uri_action_unref: : A pointer.

Decrements the object's reference count. If the count happens to be < 1 after the decrement, is freed.

Definition at line 1359 of file hildon-uri.c.

Referenced by hildon_uri_free_actions(), hildon_uri_get_default_action(), hildon_uri_is_default_action(), hildon_uri_is_default_action_by_uri(), and hildon_uri_open().

{
      g_return_if_fail (action != NULL);

      action->ref_count--;

      if (action->ref_count < 1) {
            uri_action_free (action);
      }
}


Generated by  Doxygen 1.6.0   Back to index