gimp r25293 - in trunk: . app/gui libgimp libgimpwidgets
- From: muks svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25293 - in trunk: . app/gui libgimp libgimpwidgets
- Date: Sat, 29 Mar 2008 00:03:53 +0000 (GMT)
Author: muks
Date: Sat Mar 29 00:03:52 2008
New Revision: 25293
URL: http://svn.gnome.org/viewvc/gimp?rev=25293&view=rev
Log:
2008-03-28 Mukund Sivaraman <muks mukund org>
Fixes for some Sparse reported issues in app, libgimp*/
* app/gui/gui-vtable.c: Included <gdk/gdkx.h>
* libgimp/gimpprocview.c: author, date, copyright are pointers.
* libgimpwidgets/gimpcolorprofilestore.c: Last argument of
g_scanner_scope_add_symbol() is a pointer.
Modified:
trunk/ChangeLog
trunk/app/gui/gui-vtable.c
trunk/libgimp/gimpprocview.c
trunk/libgimpwidgets/gimpcolorprofilestore.c
Modified: trunk/app/gui/gui-vtable.c
==============================================================================
--- trunk/app/gui/gui-vtable.c (original)
+++ trunk/app/gui/gui-vtable.c Sat Mar 29 00:03:52 2008
@@ -21,6 +21,7 @@
#include <string.h>
#include <gtk/gtk.h>
+#include <gdk/gdkx.h>
#include "libgimpwidgets/gimpwidgets.h"
Modified: trunk/libgimp/gimpprocview.c
==============================================================================
--- trunk/libgimp/gimpprocview.c (original)
+++ trunk/libgimp/gimpprocview.c Sat Mar 29 00:03:52 2008
@@ -190,8 +190,10 @@
if (! author && ! date && ! copyright)
return main_vbox;
- table = gtk_table_new ((author != 0) + (date != 0) + (copyright != 0), 2,
- FALSE);
+ table = gtk_table_new (((author != NULL) +
+ (date != NULL) +
+ (copyright != NULL)),
+ 2, FALSE);
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
gtk_table_set_row_spacings (GTK_TABLE (table), 4);
gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
Modified: trunk/libgimpwidgets/gimpcolorprofilestore.c
==============================================================================
--- trunk/libgimpwidgets/gimpcolorprofilestore.c (original)
+++ trunk/libgimpwidgets/gimpcolorprofilestore.c Sat Mar 29 00:03:52 2008
@@ -620,7 +620,7 @@
if (! scanner)
return FALSE;
- g_scanner_scope_add_symbol (scanner, 0, "color-profile", 0);
+ g_scanner_scope_add_symbol (scanner, 0, "color-profile", NULL);
token = G_TOKEN_LEFT_PAREN;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]