#include <string.h> for strcmp, and fix gdk_atom_intern usage.

005-04-09  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimppixbuf.c: #include <string.h> for strcmp, and
        fix gdk_atom_intern usage.
This commit is contained in:
Manish Singh 2005-04-09 19:52:36 +00:00 committed by Manish Singh
parent 094c7ed289
commit b31216d037
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-04-09 Manish Singh <yosh@gimp.org>
* app/widgets/gimppixbuf.c: #include <string.h> for strcmp, and
fix gdk_atom_intern usage.
2005-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: quote the shell command passed to execl().

View file

@ -21,6 +21,8 @@
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "widgets-types.h"
@ -68,7 +70,7 @@ gimp_pixbuf_targets_add (GtkTargetList *target_list,
for (type = mime_types; *type; type++)
{
GdkAtom *atom = gdk_atom_intern (*type, FALSE);
GdkAtom atom = gdk_atom_intern (*type, FALSE);
gtk_target_list_add (target_list, atom, 0, info);
}
@ -99,7 +101,7 @@ gimp_pixbuf_targets_remove (GtkTargetList *target_list)
for (type = mime_types; *type; type++)
{
GdkAtom *atom = gdk_atom_intern (*type, FALSE);
GdkAtom atom = gdk_atom_intern (*type, FALSE);
gtk_target_list_remove (target_list, atom);
}