[PATCH 07/14] Remove unused variables.
- From: Rupert Swarbrick <rswarbrick gmail com>
- To: gnome-doc-devel-list gnome org
- Subject: [PATCH 07/14] Remove unused variables.
- Date: Wed, 22 Dec 2010 11:38:18 +0000
---
libyelp/yelp-location-entry.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/libyelp/yelp-location-entry.c b/libyelp/yelp-location-entry.c
index defe05b..06e1995 100644
--- a/libyelp/yelp-location-entry.c
+++ b/libyelp/yelp-location-entry.c
@@ -879,7 +879,6 @@ combo_box_row_separator_func (GtkTreeModel *model,
GtkTreeIter *iter,
gpointer user_data)
{
- YelpLocationEntryPrivate *priv = GET_PRIV (user_data);
gint flags;
gtk_tree_model_get (model, iter,
HISTORY_COL_FLAGS, &flags,
@@ -905,7 +904,6 @@ entry_focus_in_cb (GtkWidget *widget,
GdkEventFocus *event,
gpointer user_data)
{
- GtkEntry *text_entry = GTK_ENTRY (widget);
YelpLocationEntryPrivate *priv = GET_PRIV (user_data);
if (priv->enable_search && !priv->search_mode)
@@ -953,8 +951,6 @@ entry_icon_press_cb (GtkEntry *gtkentry,
GdkEvent *event,
YelpLocationEntry *entry)
{
- YelpLocationEntryPrivate *priv = GET_PRIV (entry);
-
if (icon_pos == GTK_ENTRY_ICON_SECONDARY) {
const gchar *name = gtk_entry_get_icon_name (gtkentry, icon_pos);
if (g_str_equal (name, "edit-clear")) {
@@ -991,7 +987,6 @@ cell_set_text_cell (GtkCellLayout *layout,
YelpLocationEntry *entry)
{
gchar *title, *desc, *color, *text;
- YelpLocationEntryPrivate *priv = GET_PRIV (entry);
gtk_tree_model_get (model, iter,
HISTORY_COL_TITLE, &title,
@@ -1083,7 +1078,6 @@ cell_set_completion_text_cell (GtkCellLayout *layout,
YelpLocationEntry *entry)
{
gchar *title, *desc, *color, *text;
- YelpLocationEntryPrivate *priv = GET_PRIV (entry);
gtk_tree_model_get (model, iter,
COMPLETION_COL_TITLE, &title,
@@ -1117,7 +1111,6 @@ entry_match_func (GtkEntryCompletion *completion,
gboolean ret = FALSE;
gchar **strs;
GtkTreeModel *model = gtk_entry_completion_get_model (completion);
- YelpLocationEntryPrivate *priv = GET_PRIV (entry);
gtk_tree_model_get (model, iter,
HISTORY_COL_TITLE, &title,
@@ -1297,7 +1290,7 @@ view_uri_selected (YelpView *view,
gchar *iter_uri;
gboolean cont;
YelpUri *uri;
- gchar *struri, *doc_uri;
+ gchar *struri;
YelpLocationEntryPrivate *priv = GET_PRIV (entry);
g_object_get (G_OBJECT (view), "yelp-uri", &uri, NULL);
--
1.7.2.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]