mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
libgimp: fix unused function (Win32).
Fixes: > libgimp/gimpui.c:402:1: warning: 'gimp_window_transient_realized' defined but not used [-Wunused-function]
This commit is contained in:
parent
c809e221ec
commit
9b328167ab
1 changed files with 4 additions and 0 deletions
|
@ -63,8 +63,10 @@ static void gimp_ui_theme_changed (GFileMonitor *monitor,
|
||||||
GFileMonitorEvent event_type,
|
GFileMonitorEvent event_type,
|
||||||
GtkCssProvider *css_provider);
|
GtkCssProvider *css_provider);
|
||||||
static void gimp_ensure_modules (void);
|
static void gimp_ensure_modules (void);
|
||||||
|
#ifndef GDK_WINDOWING_WIN32
|
||||||
static void gimp_window_transient_realized (GtkWidget *window,
|
static void gimp_window_transient_realized (GtkWidget *window,
|
||||||
GdkWindow *parent);
|
GdkWindow *parent);
|
||||||
|
#endif
|
||||||
static gboolean gimp_window_set_transient_for (GtkWindow *window,
|
static gboolean gimp_window_set_transient_for (GtkWindow *window,
|
||||||
GdkWindow *parent);
|
GdkWindow *parent);
|
||||||
|
|
||||||
|
@ -398,6 +400,7 @@ gimp_ensure_modules (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef GDK_WINDOWING_WIN32
|
||||||
static void
|
static void
|
||||||
gimp_window_transient_realized (GtkWidget *window,
|
gimp_window_transient_realized (GtkWidget *window,
|
||||||
GdkWindow *parent)
|
GdkWindow *parent)
|
||||||
|
@ -405,6 +408,7 @@ gimp_window_transient_realized (GtkWidget *window,
|
||||||
if (gtk_widget_get_realized (window))
|
if (gtk_widget_get_realized (window))
|
||||||
gdk_window_set_transient_for (gtk_widget_get_window (window), parent);
|
gdk_window_set_transient_for (gtk_widget_get_window (window), parent);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
gimp_window_set_transient_for (GtkWindow *window,
|
gimp_window_set_transient_for (GtkWindow *window,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue