diff options
-rw-r--r-- | e-util/e-buffer-tagger.c | 2 | ||||
-rw-r--r-- | e-util/e-filter-part.c | 6 | ||||
-rw-r--r-- | e-util/e-filter-rule.c | 2 | ||||
-rw-r--r-- | e-util/e-web-view-gtkhtml.c | 6 | ||||
-rw-r--r-- | e-util/e-web-view.c | 6 | ||||
-rw-r--r-- | modules/composer-autosave/e-autosave-utils.c | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/e-util/e-buffer-tagger.c b/e-util/e-buffer-tagger.c index 250c4ed731..d79ef2f32e 100644 --- a/e-util/e-buffer-tagger.c +++ b/e-util/e-buffer-tagger.c @@ -222,7 +222,7 @@ get_url_at_iter (GtkTextBuffer *buffer, tag_table = gtk_text_buffer_get_tag_table (buffer); tag = gtk_text_tag_table_lookup (tag_table, E_BUFFER_TAGGER_LINK_TAG); - g_return_val_if_fail (tag != NULL, FALSE); + g_return_val_if_fail (tag != NULL, NULL); if (get_tag_bounds (iter, tag, &start, &end)) url = gtk_text_iter_get_text (&start, &end); diff --git a/e-util/e-filter-part.c b/e-util/e-filter-part.c index 00ab7a7fa4..b36a81ea74 100644 --- a/e-util/e-filter-part.c +++ b/e-util/e-filter-part.c @@ -148,9 +148,9 @@ e_filter_part_xml_create (EFilterPart *part, gchar *type, *str; EFilterElement *el; - g_return_val_if_fail (E_IS_FILTER_PART (part), FALSE); - g_return_val_if_fail (node != NULL, FALSE); - g_return_val_if_fail (E_IS_RULE_CONTEXT (context), FALSE); + g_return_val_if_fail (E_IS_FILTER_PART (part), 0); + g_return_val_if_fail (node != NULL, 0); + g_return_val_if_fail (E_IS_RULE_CONTEXT (context), 0); str = (gchar *) xmlGetProp (node, (xmlChar *)"name"); part->name = g_strdup (str); diff --git a/e-util/e-filter-rule.c b/e-util/e-filter-rule.c index 33b626fd9b..5d0b1943a0 100644 --- a/e-util/e-filter-rule.c +++ b/e-util/e-filter-rule.c @@ -1225,7 +1225,7 @@ e_filter_rule_find_list (GList *list, { GList *link; - g_return_val_if_fail (name != NULL, FALSE); + g_return_val_if_fail (name != NULL, NULL); for (link = list; link != NULL; link = g_list_next (link)) { EFilterRule *rule = link->data; diff --git a/e-util/e-web-view-gtkhtml.c b/e-util/e-web-view-gtkhtml.c index 0f79eb1106..e371d0b592 100644 --- a/e-util/e-web-view-gtkhtml.c +++ b/e-util/e-web-view-gtkhtml.c @@ -2021,7 +2021,7 @@ e_web_view_gtkhtml_set_cursor_image (EWebViewGtkHTML *web_view, GtkAction * e_web_view_gtkhtml_get_open_proxy (EWebViewGtkHTML *web_view) { - g_return_val_if_fail (E_IS_WEB_VIEW_GTKHTML (web_view), FALSE); + g_return_val_if_fail (E_IS_WEB_VIEW_GTKHTML (web_view), NULL); return web_view->priv->open_proxy; } @@ -2056,7 +2056,7 @@ e_web_view_gtkhtml_get_paste_target_list (EWebViewGtkHTML *web_view) GtkAction * e_web_view_gtkhtml_get_print_proxy (EWebViewGtkHTML *web_view) { - g_return_val_if_fail (E_IS_WEB_VIEW_GTKHTML (web_view), FALSE); + g_return_val_if_fail (E_IS_WEB_VIEW_GTKHTML (web_view), NULL); return web_view->priv->print_proxy; } @@ -2083,7 +2083,7 @@ e_web_view_gtkhtml_set_print_proxy (EWebViewGtkHTML *web_view, GtkAction * e_web_view_gtkhtml_get_save_as_proxy (EWebViewGtkHTML *web_view) { - g_return_val_if_fail (E_IS_WEB_VIEW_GTKHTML (web_view), FALSE); + g_return_val_if_fail (E_IS_WEB_VIEW_GTKHTML (web_view), NULL); return web_view->priv->save_as_proxy; } diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c index 5269b28a4b..faf57a5f31 100644 --- a/e-util/e-web-view.c +++ b/e-util/e-web-view.c @@ -2170,7 +2170,7 @@ e_web_view_set_cursor_image_src (EWebView *web_view, GtkAction * e_web_view_get_open_proxy (EWebView *web_view) { - g_return_val_if_fail (E_IS_WEB_VIEW (web_view), FALSE); + g_return_val_if_fail (E_IS_WEB_VIEW (web_view), NULL); return web_view->priv->open_proxy; } @@ -2209,7 +2209,7 @@ e_web_view_get_paste_target_list (EWebView *web_view) GtkAction * e_web_view_get_print_proxy (EWebView *web_view) { - g_return_val_if_fail (E_IS_WEB_VIEW (web_view), FALSE); + g_return_val_if_fail (E_IS_WEB_VIEW (web_view), NULL); return web_view->priv->print_proxy; } @@ -2239,7 +2239,7 @@ e_web_view_set_print_proxy (EWebView *web_view, GtkAction * e_web_view_get_save_as_proxy (EWebView *web_view) { - g_return_val_if_fail (E_IS_WEB_VIEW (web_view), FALSE); + g_return_val_if_fail (E_IS_WEB_VIEW (web_view), NULL); return web_view->priv->save_as_proxy; } diff --git a/modules/composer-autosave/e-autosave-utils.c b/modules/composer-autosave/e-autosave-utils.c index c34c491c17..c96481fc8c 100644 --- a/modules/composer-autosave/e-autosave-utils.c +++ b/modules/composer-autosave/e-autosave-utils.c @@ -98,7 +98,7 @@ create_snapshot_file (EMsgComposer *composer, g_file_error_from_errno (errno), "%s", g_strerror (errno)); g_free (path); - return FALSE; + return NULL; } close (fd); |