[PATCH 13/14] Fix missing return type and incorrect test (= not ==).
- From: Rupert Swarbrick <rswarbrick gmail com>
- To: gnome-doc-devel-list gnome org
- Subject: [PATCH 13/14] Fix missing return type and incorrect test (= not ==).
- Date: Wed, 22 Dec 2010 11:52:29 +0000
---
libyelp/yelp-view.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libyelp/yelp-view.c b/libyelp/yelp-view.c
index c2b80eb..b8732db 100644
--- a/libyelp/yelp-view.c
+++ b/libyelp/yelp-view.c
@@ -175,6 +175,7 @@ struct _YelpActionEntry {
YelpViewActionValidFunc func;
gpointer data;
};
+static void
action_entry_free (YelpActionEntry *entry)
{
if (entry == NULL)
@@ -695,7 +696,7 @@ view_scrolled (GtkAdjustment *adjustment,
return;
if (adjustment == priv->vadjustment)
((YelpBackEntry *) priv->back_cur->data)->vadj = gtk_adjustment_get_value (adjustment);
- else if (adjustment = priv->hadjustment)
+ else if (adjustment == priv->hadjustment)
((YelpBackEntry *) priv->back_cur->data)->hadj = gtk_adjustment_get_value (adjustment);
}
@@ -1233,7 +1234,6 @@ view_resource_request (WebKitWebView *view,
{
YelpViewPrivate *priv = GET_PRIV (view);
const gchar *requri = webkit_network_request_get_uri (request);
- gchar last;
gchar *newpath;
if (!g_str_has_prefix (requri, BOGUS_URI))
@@ -1536,7 +1536,7 @@ uri_resolved (YelpUri *uri,
}
else {
error = g_error_new (YELP_ERROR, YELP_ERROR_NOT_FOUND,
- _("The URI does not point to a valid page."),
+ _("The URI '%s' does not point to a valid page."),
struri);
}
view_show_error_page (view, error);
--
1.7.2.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]