devhelp r1108 - in trunk: . src
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: devhelp r1108 - in trunk: . src
- Date: Fri, 3 Oct 2008 14:57:30 +0000 (UTC)
Author: rhult
Date: Fri Oct 3 14:57:30 2008
New Revision: 1108
URL: http://svn.gnome.org/viewvc/devhelp?rev=1108&view=rev
Log:
2008-10-03 Richard Hult <richard imendio com>
* src/dh-keyword-model.c: (keyword_model_get_column_type),
(keyword_model_get_value):
* src/dh-keyword-model.h: Remove unused model column for "is
deprecated".
Modified:
trunk/ChangeLog
trunk/src/dh-keyword-model.c
Modified: trunk/src/dh-keyword-model.c
==============================================================================
--- trunk/src/dh-keyword-model.c (original)
+++ trunk/src/dh-keyword-model.c Fri Oct 3 14:57:30 2008
@@ -186,7 +186,7 @@
static gint
keyword_model_get_n_columns (GtkTreeModel *tree_model)
{
- return DH_KEYWORD_MODEL_NR_OF_COLS;
+ return DH_KEYWORD_MODEL_NUM_COLS;
}
static GType
@@ -199,9 +199,6 @@
break;
case DH_KEYWORD_MODEL_COL_LINK:
return G_TYPE_POINTER;
- case DH_KEYWORD_MODEL_COL_IS_DEPRECATED:
- return G_TYPE_BOOLEAN;
- break;
default:
return G_TYPE_INVALID;
}
@@ -283,11 +280,6 @@
g_value_init (value, G_TYPE_POINTER);
g_value_set_pointer (value, link);
break;
- case DH_KEYWORD_MODEL_COL_IS_DEPRECATED:
- g_value_init (value, G_TYPE_BOOLEAN);
- g_value_set_boolean (
- value, dh_link_get_flags (link) & DH_LINK_FLAGS_DEPRECATED);
- break;
default:
g_warning ("Bad column %d requested", column);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]