[glib/wip/menus-rebase2] Whitespace fix
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/menus-rebase2] Whitespace fix
- Date: Sat, 19 Nov 2011 04:44:35 +0000 (UTC)
commit 0afb67ddb033aef091dc6e77619805f842253193
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 18 20:45:07 2011 -0500
Whitespace fix
gio/gmenu.c | 1 -
gio/gmenumodel.h | 40 ++++++++++++++++++++--------------------
2 files changed, 20 insertions(+), 21 deletions(-)
---
diff --git a/gio/gmenu.c b/gio/gmenu.c
index 59ea3bb..03df5bb 100644
--- a/gio/gmenu.c
+++ b/gio/gmenu.c
@@ -161,7 +161,6 @@ g_menu_insert_item (GMenu *menu,
if (position < 0 || position > menu->items->len)
position = menu->items->len;
-
new_item.attributes = g_hash_table_ref (item->attributes);
new_item.links = g_hash_table_ref (item->links);
item->cow = TRUE;
diff --git a/gio/gmenumodel.h b/gio/gmenumodel.h
index fe26b5b..03ead5d 100644
--- a/gio/gmenumodel.h
+++ b/gio/gmenumodel.h
@@ -71,25 +71,25 @@ struct _GMenuModelClass
{
GObjectClass parent_class;
- gboolean (*is_mutable) (GMenuModel *model);
- gint (*get_n_items) (GMenuModel *model);
-
- void (*get_item_attributes) (GMenuModel *model,
- gint item_index,
- GHashTable **quark_table,
- GHashTable **string_table,
- GVariant **dictionary);
- GMenuAttributeIter * (*iterate_item_attributes) (GMenuModel *model,
- gint item_index);
+ gboolean (*is_mutable) (GMenuModel *model);
+ gint (*get_n_items) (GMenuModel *model);
+
+ void (*get_item_attributes) (GMenuModel *model,
+ gint item_index,
+ GHashTable **quark_table,
+ GHashTable **string_table,
+ GVariant **dictionary);
+ GMenuAttributeIter * (*iterate_item_attributes) (GMenuModel *model,
+ gint item_index);
GVariant * (*get_item_attribute_value) (GMenuModel *model,
gint item_index,
- const gchar *attribute,
+ const gchar *attribute,
const GVariantType *expected_type);
void (*get_item_links) (GMenuModel *model,
gint item_index,
GHashTable **quark_table,
- GHashTable **string_table);
+ GHashTable **string_table);
GMenuLinkIter * (*iterate_item_links) (GMenuModel *model,
gint item_index);
GMenuModel * (*get_item_link) (GMenuModel *model,
@@ -109,18 +109,18 @@ GMenuAttributeIter * g_menu_model_iterate_item_attributes (GMenuMo
gint item_index);
GVariant * g_menu_model_get_item_attribute_value (GMenuModel *model,
gint item_index,
- const gchar *attribute,
+ const gchar *attribute,
const GVariantType *expected_type);
gboolean g_menu_model_get_item_attribute (GMenuModel *model,
gint item_index,
- const gchar *attribute,
+ const gchar *attribute,
const gchar *format_string,
...);
GMenuLinkIter * g_menu_model_iterate_item_links (GMenuModel *model,
gint item_index);
GMenuModel * g_menu_model_get_item_link (GMenuModel *model,
gint item_index,
- const gchar *link);
+ const gchar *link);
void g_menu_model_items_changed (GMenuModel *model,
gint position,
@@ -158,7 +158,7 @@ struct _GMenuAttributeIterClass
GType g_menu_attribute_iter_get_type (void) G_GNUC_CONST;
gboolean g_menu_attribute_iter_get_next (GMenuAttributeIter *iter,
- const gchar **out_type,
+ const gchar **out_type,
GVariant **value);
gboolean g_menu_attribute_iter_next (GMenuAttributeIter *iter);
const gchar * g_menu_attribute_iter_get_name (GMenuAttributeIter *iter);
@@ -195,7 +195,7 @@ struct _GMenuLinkIterClass
GType g_menu_link_iter_get_type (void) G_GNUC_CONST;
gboolean g_menu_link_iter_get_next (GMenuLinkIter *iter,
- const gchar **out_link,
+ const gchar **out_link,
GMenuModel **value);
gboolean g_menu_link_iter_next (GMenuLinkIter *iter);
const gchar * g_menu_link_iter_get_name (GMenuLinkIter *iter);
@@ -210,15 +210,15 @@ struct _GMenuModelItem
GMenuAttributeIter * g_menu_model_item_iterate_attributes (GMenuModelItem *item);
GVariant * g_menu_model_item_get_attribute_value (GMenuModelItem *item,
- const gchar *attribute,
+ const gchar *attribute,
const GVariantType *expected_type);
gboolean g_menu_model_item_get_attribute (GMenuModelItem *item,
- const gchar *attribute,
+ const gchar *attribute,
const gchar *format_string,
...);
GMenuLinkIter * g_menu_model_item_iterate_links (GMenuModelItem *item);
GMenuModel * g_menu_model_item_get_link (GMenuModelItem *item,
- const gchar *link);
+ const gchar *link);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]