projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdbus-tool: simplify some logic
[platform/upstream/glib.git]
/
gio
/
gsimpleactiongroup.c
diff --git
a/gio/gsimpleactiongroup.c
b/gio/gsimpleactiongroup.c
index
ff549aa
..
c542251
100644
(file)
--- a/
gio/gsimpleactiongroup.c
+++ b/
gio/gsimpleactiongroup.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>
*/
@@
-31,6
+29,7
@@
* SECTION:gsimpleactiongroup
* @title: GSimpleActionGroup
* @short_description: A simple GActionGroup implementation
* SECTION:gsimpleactiongroup
* @title: GSimpleActionGroup
* @short_description: A simple GActionGroup implementation
+ * @include: gio/gio.h
*
* #GSimpleActionGroup is a hash table filled with #GAction objects,
* implementing the #GActionGroup and #GActionMap interfaces.
*
* #GSimpleActionGroup is a hash table filled with #GAction objects,
* implementing the #GActionGroup and #GActionMap interfaces.
@@
-252,7
+251,7
@@
g_simple_action_group_finalize (GObject *object)
static void
g_simple_action_group_init (GSimpleActionGroup *simple)
{
static void
g_simple_action_group_init (GSimpleActionGroup *simple)
{
- simple->priv = g_simple_action_group_get_private (simple);
+ simple->priv = g_simple_action_group_get_
instance_
private (simple);
simple->priv->table = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, g_object_unref);
}
simple->priv->table = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, g_object_unref);
}
@@
-309,6
+308,8
@@
g_simple_action_group_new (void)
* Returns: (transfer none): a #GAction, or %NULL
*
* Since: 2.28
* Returns: (transfer none): a #GAction, or %NULL
*
* Since: 2.28
+ *
+ * Deprecated: 2.38: Use g_action_map_lookup_action()
*/
GAction *
g_simple_action_group_lookup (GSimpleActionGroup *simple,
*/
GAction *
g_simple_action_group_lookup (GSimpleActionGroup *simple,
@@
-332,6
+333,8
@@
g_simple_action_group_lookup (GSimpleActionGroup *simple,
* The action group takes its own reference on @action.
*
* Since: 2.28
* The action group takes its own reference on @action.
*
* Since: 2.28
+ *
+ * Deprecated: 2.38: Use g_action_map_add_action()
**/
void
g_simple_action_group_insert (GSimpleActionGroup *simple,
**/
void
g_simple_action_group_insert (GSimpleActionGroup *simple,
@@
-352,6
+355,8
@@
g_simple_action_group_insert (GSimpleActionGroup *simple,
* If no action of this name is in the group then nothing happens.
*
* Since: 2.28
* If no action of this name is in the group then nothing happens.
*
* Since: 2.28
+ *
+ * Deprecated: 2.38: Use g_action_map_remove_action()
**/
void
g_simple_action_group_remove (GSimpleActionGroup *simple,
**/
void
g_simple_action_group_remove (GSimpleActionGroup *simple,
@@
-375,6
+380,8
@@
g_simple_action_group_remove (GSimpleActionGroup *simple,
* and adding them to the action group.
*
* Since: 2.30
* and adding them to the action group.
*
* Since: 2.30
+ *
+ * Deprecated: 2.38: Use g_action_map_add_action_entries()
**/
void
g_simple_action_group_add_entries (GSimpleActionGroup *simple,
**/
void
g_simple_action_group_add_entries (GSimpleActionGroup *simple,