gui_unique_win32_message_handler() can be static. Include file/file-open.h

2008-09-10  Tor Lillqvist  <tml@novell.com>

	* app/gui/gui-unique.c: gui_unique_win32_message_handler() can be
	static. Include file/file-open.h for file_open_from_command_line()
	declaration. Fix copy/paste glitch in gui_unique_exit().


svn path=/trunk/; revision=26916
This commit is contained in:
Tor Lillqvist 2008-09-10 19:25:54 +00:00 committed by Tor Lillqvist
parent 420b60b8de
commit 9950975d6b
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2008-09-10 Tor Lillqvist <tml@novell.com>
* app/gui/gui-unique.c: gui_unique_win32_message_handler() can be
static. Include file/file-open.h for file_open_from_command_line()
declaration. Fix copy/paste glitch in gui_unique_exit().
2008-09-10 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpactionview.c: factor out function that selects a

View File

@ -49,6 +49,8 @@ static DBusGConnection *dbus_connection = NULL;
#endif
#ifdef G_OS_WIN32
#include "file/file-open.h"
static void gui_unique_win32_init (Gimp *gimp);
static void gui_unique_win32_exit (void);
@ -69,10 +71,10 @@ gui_unique_init (Gimp *gimp)
void
gui_unique_exit (void)
{
#if HAVE_DBUS_GLIB
gui_dbus_service_exit ();
#elif HAVE_DBUS_GLIB
#ifdef G_OS_WIN32
gui_unique_win32_exit ();
#elif HAVE_DBUS_GLIB
gui_dbus_service_exit ();
#endif
}
@ -172,7 +174,7 @@ gui_unique_win32_idle_open (IdleOpenData *data)
}
LRESULT CALLBACK
static LRESULT CALLBACK
gui_unique_win32_message_handler (HWND hWnd,
UINT uMsg,
WPARAM wParam,