[gtk+] Remove some warnings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove some warnings
- Date: Fri, 22 Oct 2010 17:29:19 +0000 (UTC)
commit d2eac1bf816150ec1ecdcda4143789544d6e8595
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 22 19:28:32 2010 +0200
Remove some warnings
modules/other/gail/gailtreeview.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
index 58772c1..60de100 100644
--- a/modules/other/gail/gailtreeview.c
+++ b/modules/other/gail/gailtreeview.c
@@ -448,8 +448,7 @@ gail_tree_view_real_initialize (AtkObject *obj,
{
GailTreeView *view;
GtkTreeView *tree_view;
- GtkTreeModel *tree_model;
- GtkAdjustment *adj;
+ GtkTreeModel *tree_model;
GList *tv_cols, *tmp_list;
GtkWidget *widget;
@@ -520,8 +519,8 @@ gail_tree_view_real_initialize (AtkObject *obj,
/* adjustment callbacks */
- gail_tree_view_hadjustment_set (widget, NULL, view);
- gail_tree_view_vadjustment_set (widget, NULL, view);
+ gail_tree_view_hadjustment_set (G_OBJECT (widget), NULL, view);
+ gail_tree_view_vadjustment_set (G_OBJECT (widget), NULL, view);
g_signal_connect (widget,
"notify::hadjustment",
G_CALLBACK (gail_tree_view_hadjustment_set),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]