gtksourceview r1934 - in trunk: . gtksourceview
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gtksourceview r1934 - in trunk: . gtksourceview
- Date: Sun, 30 Mar 2008 14:39:30 +0100 (BST)
Author: pborelli
Date: Sun Mar 30 14:39:30 2008
New Revision: 1934
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=1934&view=rev
Log:
2008-03-30 Paolo Borelli <pborelli katamail com>
* gtksourceview/gtksourceview.c: fix compiler warning.
Modified:
trunk/ChangeLog
trunk/gtksourceview/gtksourceview.c
Modified: trunk/gtksourceview/gtksourceview.c
==============================================================================
--- trunk/gtksourceview/gtksourceview.c (original)
+++ trunk/gtksourceview/gtksourceview.c Sun Mar 30 14:39:30 2008
@@ -1690,7 +1690,7 @@
* Return value: a new #GtkSourceView
**/
GtkWidget *
-gtk_source_view_new ()
+gtk_source_view_new (void)
{
GtkWidget *widget;
GtkSourceBuffer *buffer;
@@ -2082,8 +2082,8 @@
{
MarkCategory *cat;
- g_return_val_if_fail (GTK_IS_SOURCE_VIEW (view), 0);
- g_return_val_if_fail (category != NULL, 0);
+ g_return_val_if_fail (GTK_IS_SOURCE_VIEW (view), NULL);
+ g_return_val_if_fail (category != NULL, NULL);
cat = g_hash_table_lookup (view->priv->mark_categories, category);
if (cat != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]