[gnome-documents] lib: fix g-i scanner warning
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] lib: fix g-i scanner warning
- Date: Mon, 11 Jun 2012 14:37:29 +0000 (UTC)
commit 4c340213f535f0d24332fa7fdd3adea3b6fc4630
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jun 11 10:26:29 2012 -0400
lib: fix g-i scanner warning
Use "self" consistently instead of "view".
src/lib/gd-main-view-generic.c | 2 +-
src/lib/gd-main-view-generic.h | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/lib/gd-main-view-generic.c b/src/lib/gd-main-view-generic.c
index 9372845..df8d756 100644
--- a/src/lib/gd-main-view-generic.c
+++ b/src/lib/gd-main-view-generic.c
@@ -39,7 +39,7 @@ gd_main_view_generic_default_init (GdMainViewGenericInterface *iface)
*/
void
gd_main_view_generic_set_model (GdMainViewGeneric *self,
- GtkTreeModel *model)
+ GtkTreeModel *model)
{
GdMainViewGenericInterface *iface;
diff --git a/src/lib/gd-main-view-generic.h b/src/lib/gd-main-view-generic.h
index 61bfab2..d47cd10 100644
--- a/src/lib/gd-main-view-generic.h
+++ b/src/lib/gd-main-view-generic.h
@@ -58,18 +58,18 @@ struct _GdMainViewGenericIface
GTypeInterface base_iface;
/* signals */
- void (* selection_changed) (GdMainViewGeneric *view);
+ void (* selection_changed) (GdMainViewGeneric *self);
/* vtable */
- void (* set_model) (GdMainViewGeneric *view,
+ void (* set_model) (GdMainViewGeneric *self,
GtkTreeModel *model);
- GtkTreePath * (* get_path_at_pos) (GdMainViewGeneric *view,
+ GtkTreePath * (* get_path_at_pos) (GdMainViewGeneric *self,
gint x,
gint y);
- void (* scroll_to_path) (GdMainViewGeneric *view,
+ void (* scroll_to_path) (GdMainViewGeneric *self,
GtkTreePath *path);
- void (* set_selection_mode) (GdMainViewGeneric *view,
+ void (* set_selection_mode) (GdMainViewGeneric *self,
gboolean selection_mode);
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]