diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-02-27 23:45:05 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-02-27 23:45:05 +0000 |
commit | 80bf58e01d1ec9034a44eac996e1170122e3f090 (patch) | |
tree | 5d4eeeaf6400c6ccff52ad8ba90f0284915978ad /gdk-pixbuf | |
parent | c16da246f1e2a4f8e2cc22549c4dde90a80f44f3 (diff) | |
download | gtk+-80bf58e01d1ec9034a44eac996e1170122e3f090.tar.gz |
Use {} not () to group around string assigned to char[]. (#72767, Tomas
Wed Feb 27 18:33:04 2002 Owen Taylor <otaylor@redhat.com>
* gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not
() to group around string assigned to char[]. (#72767,
Tomas Ögren)
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/ChangeLog | 10 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixdata.c | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 04754dcd33..c4783fdd87 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 27 18:33:04 2002 Owen Taylor <otaylor@redhat.com> + + * gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not + () to group around string assigned to char[]. (#72767, + Tomas Ögren) + 2002-02-21 Havoc Pennington <hp@pobox.com> * gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove @@ -1218,7 +1224,7 @@ Wed Jun 21 16:02:48 2000 Owen Taylor <otaylor@redhat.com> 2000-06-05 Mathieu Lacage <mathieu@gnome.org> * configure.in: add some gtk parameters to the - GDK_PIXBUF_LIB²S and GDK_PIXBUG_INCLUDEDIR vars. One more + GDK_PIXBUF_LIB²S and GDK_PIXBUG_INCLUDEDIR vars. One more fight in my crusade for strange prefix compile... 2000-05-30 Not Zed <NotZed@HelixCode.com> @@ -1315,7 +1321,7 @@ Fri May 5 12:16:32 2000 Owen Taylor <otaylor@redhat.com> * gdk-pixbuf/Makefile.am (INCLUDES): Add $(GNOME_CFLAGS). Reported by Jens Finke. -2000-04-14 Tomasz K³opczko <kloczek@pld.org.pl> +2000-04-14 Tomasz K³opczko <kloczek@pld.org.pl> * gdk-pixbuf/pixops/makefile.am: $(LIBART_CFLAGS) replaced by $(GTK_CFLAGS) - now gdk-pixbuf compiles correctly. diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c index b5d0835f9b..eaff61d28c 100644 --- a/gdk-pixbuf/gdk-pixdata.c +++ b/gdk-pixbuf/gdk-pixdata.c @@ -731,7 +731,7 @@ gdk_pixdata_to_csource (GdkPixdata *pixdata, cdata.static_prefix, cdata.const_prefix, cdata.dump_gtypes ? "guint8" : "unsigned char", name); - APPEND (gstring, "( \"\"\n /* Pixbuf magic (0x%x) */\n \"", + APPEND (gstring, "{ \"\"\n /* Pixbuf magic (0x%x) */\n \"", GDK_PIXBUF_MAGIC_NUMBER); cdata.pos = 3; save_uchar (&cdata, *stream++); save_uchar (&cdata, *stream++); @@ -799,7 +799,7 @@ gdk_pixdata_to_csource (GdkPixdata *pixdata, if (cdata.dump_struct) APPEND (gstring, "\",\n};\n\n"); if (cdata.dump_stream) - APPEND (gstring, "\");\n\n"); + APPEND (gstring, "\"};\n\n"); /* dump RLE decoder for macros */ |