X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgaction.c;h=85717fa0b8c793520a9f0e775448eead7bdd5305;hb=7103484017ff000d01ed94567539d37fa09b32b2;hp=a2332fff1b2628eb98444cfde3dc1f6ecce497e6;hpb=38720494452aa336eb2f168ac4bd2add138c400e;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gaction.c b/gio/gaction.c index a2332ff..85717fa 100644 --- a/gio/gaction.c +++ b/gio/gaction.c @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Authors: Ryan Lortie */ @@ -51,7 +49,7 @@ G_DEFINE_INTERFACE (GAction, g_action, G_TYPE_OBJECT) * * #GAction is merely the interface to the concept of an action, as * described above. Various implementations of actions exist, including - * #GSimpleAction and #GtkAction. + * #GSimpleAction. * * In all cases, the implementing class is responsible for storing the * name of the action, the parameter type, the enabled state, the @@ -88,7 +86,7 @@ g_action_default_init (GActionInterface *iface) * GAction:name: * * The name of the action. This is mostly meaningful for identifying - * the action once it has been added to a #GActionGroup. + * the action once it has been added to a #GActionGroup. It is immutable. * * Since: 2.28 **/ @@ -104,7 +102,8 @@ g_action_default_init (GActionInterface *iface) * GAction:parameter-type: * * The type of the parameter that must be given when activating the - * action. + * action. This is immutable, and may be %NULL if no parameter is needed when + * activating the action. * * Since: 2.28 **/ @@ -138,7 +137,7 @@ g_action_default_init (GActionInterface *iface) * GAction:state-type: * * The #GVariantType of the state that the action has, or %NULL if the - * action is stateless. + * action is stateless. This is immutable. * * Since: 2.28 **/ @@ -329,7 +328,7 @@ g_action_get_state_type (GAction *action) * The return value (if non-%NULL) should be freed with * g_variant_unref() when it is no longer required. * - * Returns: (transfer full): the state range hint + * Returns: (nullable) (transfer full): the state range hint * * Since: 2.28 **/