From c8a471d63c7438bda0f59ff8d0bd1f3e0cf78c2f Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Sun, 14 Jun 2020 17:05:47 +0900 Subject: [PATCH] seq: user_client: Fix the type of property for int64 value Fixes: 4e8675f631ce ("seq: client_info: add properties and accessor methods") Signed-off-by: Takashi Sakamoto --- src/seq/client-info.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/seq/client-info.c b/src/seq/client-info.c index 7996ad2..c99e49a 100644 --- a/src/seq/client-info.c +++ b/src/seq/client-info.c @@ -177,11 +177,11 @@ static void alsaseq_client_info_class_init(ALSASeqClientInfoClass *klass) G_PARAM_READWRITE); seq_client_info_props[SEQ_CLIENT_INFO_PROP_PROCESS_ID] = - g_param_spec_long("process-id", "process-id", - "The process ID for user client, otherwise -1.", - G_MINLONG, G_MAXLONG, - -1, - G_PARAM_READABLE); + g_param_spec_int64("process-id", "process-id", + "The process ID for user client, otherwise -1.", + G_MININT64, G_MAXINT64, + -1, + G_PARAM_READABLE); g_object_class_install_properties(gobject_class, SEQ_CLIENT_INFO_PROP_COUNT, -- 2.47.3