[gtk+/portal] Use G_MAXINT for 'no timeout'



commit acefa57462e440772975e47f6807f1d8fde23cf7
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jul 6 20:18:41 2016 -0400

    Use G_MAXINT for 'no timeout'

 gtk/gtkfilechoosernativeportal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechoosernativeportal.c b/gtk/gtkfilechoosernativeportal.c
index 397bc6c..b1d4f7c 100644
--- a/gtk/gtkfilechoosernativeportal.c
+++ b/gtk/gtkfilechoosernativeportal.c
@@ -380,7 +380,7 @@ gtk_file_chooser_native_portal_show (GtkFileChooserNative *self)
   g_dbus_connection_send_message_with_reply (data->connection,
                                              message,
                                              G_DBUS_SEND_MESSAGE_FLAGS_NONE,
-                                             -1,
+                                             G_MAXINT,
                                              NULL,
                                              NULL,
                                              open_file_msg_cb,


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