mirror of https://github.com/GNOME/gimp.git
initialize "uri" to NULL. #include "file/file-utils.h"
2007-05-22 Michael Natterer <mitch@gimp.org> * app/main.c (gimp_dbus_open): initialize "uri" to NULL. #include "file/file-utils.h" svn path=/trunk/; revision=22560
This commit is contained in:
parent
6c9cb2ec8b
commit
3679ac69e8
|
@ -1,3 +1,8 @@
|
|||
2007-05-22 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/main.c (gimp_dbus_open): initialize "uri" to NULL.
|
||||
#include "file/file-utils.h"
|
||||
|
||||
2007-05-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/base/tile-manager-private.h: formatting.
|
||||
|
|
|
@ -55,6 +55,8 @@
|
|||
|
||||
#include "core/gimp.h"
|
||||
|
||||
#include "file/file-utils.h"
|
||||
|
||||
#include "widgets/gimpdbusservice.h"
|
||||
|
||||
#include "about.h"
|
||||
|
@ -716,7 +718,7 @@ gimp_dbus_open (const gchar **filenames,
|
|||
for (i = 0, success = TRUE; filenames[i] && success; i++)
|
||||
{
|
||||
const gchar *filename = filenames[i];
|
||||
gchar *uri;
|
||||
gchar *uri = NULL;
|
||||
|
||||
if (file_utils_filename_is_uri (filename, &error))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue