[gimp] plug-ins: forgot to typecast the parameter.



commit 71450ef7da9e6a1f37fad5b7bdedc256b8192f7a
Author: Jehan <jehan girinstud io>
Date:   Mon Sep 25 01:53:59 2017 +0200

    plug-ins: forgot to typecast the parameter.
    
    Never commit even oneliners when exhausted. This is today's lesson.

 plug-ins/common/file-pdf-load.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c
index b846686..84bc051 100644
--- a/plug-ins/common/file-pdf-load.c
+++ b/plug-ins/common/file-pdf-load.c
@@ -1266,7 +1266,7 @@ load_dialog (PopplerDocument  *doc,
   /* Since selecting none will be equivalent to selecting all, this is
    * only useful as a feedback for the default behavior of selecting all
    * pages. */
-  gimp_page_selector_select_all (selector);
+  gimp_page_selector_select_all (GIMP_PAGE_SELECTOR (selector));
 
   g_signal_connect_swapped (selector, "activate",
                             G_CALLBACK (gtk_window_activate_default),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]