From: Takashi Sakamoto Date: Sun, 14 Jun 2020 08:05:47 +0000 (+0900) Subject: seq: user_client: Fix the type of property for int64 value X-Git-Tag: v0.1.0~48 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=c8a471d63c7438bda0f59ff8d0bd1f3e0cf78c2f;p=alsa-gobject.git 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 --- 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,