libgimp: avoiding a build warning on Windows.
Seen in the CI: > ../libgimp/gimpui.c:406:1: warning: 'gimp_ui_get_foreign_window' defined but not used [-Wunused-function]
This commit is contained in:
parent
a7c4320312
commit
70bf795dfb
1 changed files with 5 additions and 0 deletions
|
|
@ -402,6 +402,10 @@ gimp_osx_focus_window (gpointer user_data)
|
|||
}
|
||||
#endif
|
||||
|
||||
/* Currently broken on Win32 so avoiding a "defined but not used"
|
||||
* warning when building on Windows.
|
||||
*/
|
||||
#ifndef GDK_WINDOWING_WIN32
|
||||
static GdkWindow *
|
||||
gimp_ui_get_foreign_window (gpointer window)
|
||||
{
|
||||
|
|
@ -418,6 +422,7 @@ gimp_ui_get_foreign_window (gpointer window)
|
|||
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
static gboolean
|
||||
gimp_window_transient_on_mapped (GtkWidget *window,
|
||||
|
|
|
|||
Loading…
Reference in a new issue