projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gnetworking.h.in: move "#undef interface"
[platform/upstream/glib.git]
/
gio
/
gaction.c
diff --git
a/gio/gaction.c
b/gio/gaction.c
index
a2332ff
..
85717fa
100644
(file)
--- 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
* 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 <http://www.gnu.org/licenses/>.
*
* Authors: Ryan Lortie <desrt@desrt.ca>
*/
*
* Authors: Ryan Lortie <desrt@desrt.ca>
*/
@@
-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
*
* #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
*
* 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
* 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
**/
*
* 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
* 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
**/
*
* 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
* 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
**/
*
* 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.
*
* 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
**/
*
* Since: 2.28
**/