diff --git a/libgimp/gimpprogress.c b/libgimp/gimpprogress.c index 72a9aa8cd7..58de97c689 100644 --- a/libgimp/gimpprogress.c +++ b/libgimp/gimpprogress.c @@ -382,7 +382,7 @@ gimp_temp_progress_run (GimpProcedure *procedure, case GIMP_PROGRESS_COMMAND_GET_WINDOW: { GimpValueArray *return_vals; - guint32 window_id = 0; + guint64 window_id = 0; if (progress_data->vtable.get_window) window_id = progress_data->vtable.get_window (progress_data->data); diff --git a/libgimp/gimpprogress.h b/libgimp/gimpprogress.h index 30f33f7255..82aa2a9658 100644 --- a/libgimp/gimpprogress.h +++ b/libgimp/gimpprogress.h @@ -81,7 +81,7 @@ typedef void (* GimpProgressVtablePulseFunc) (gpointer user_data); * * Returns: the ID of the window where the progress is displayed. */ -typedef guint32 (* GimpProgressVtableGetWindowFunc) (gpointer user_data); +typedef guint64 (* GimpProgressVtableGetWindowFunc) (gpointer user_data); typedef struct _GimpProgressVtable GimpProgressVtable; diff --git a/libgimp/gimpprogressbar.c b/libgimp/gimpprogressbar.c index e026854dbe..a397c4d914 100644 --- a/libgimp/gimpprogressbar.c +++ b/libgimp/gimpprogressbar.c @@ -63,7 +63,7 @@ static void gimp_progress_bar_set_text (const gchar *message, static void gimp_progress_bar_set_value (gdouble percentage, gpointer user_data); static void gimp_progress_bar_pulse (gpointer user_data); -static guint32 gimp_progress_bar_get_window (gpointer user_data); +static guint64 gimp_progress_bar_get_window (gpointer user_data); G_DEFINE_TYPE (GimpProgressBar, gimp_progress_bar, GTK_TYPE_PROGRESS_BAR) @@ -180,7 +180,7 @@ gimp_progress_bar_pulse (gpointer user_data) gtk_main_iteration (); } -static guint32 +static guint64 gimp_window_get_native_id (GtkWindow *window) { GdkWindow *surface; @@ -209,7 +209,7 @@ gimp_window_get_native_id (GtkWindow *window) return 0; } -static guint32 +static guint64 gimp_progress_bar_get_window (gpointer user_data) { GimpProgressBar *bar = GIMP_PROGRESS_BAR (user_data);