mirror of https://github.com/GNOME/gimp.git
#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:
parent
094c7ed289
commit
b31216d037
|
@ -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().
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue