diff gtk3/dw.c @ 2333:d0f884083c63

GTK: Use appname in dw_app_id_set() to set g_set_application_name().
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 02 Mar 2021 00:12:48 +0000
parents 58700e9fcba3
children 5437aed23151
line wrap: on
line diff
--- a/gtk3/dw.c	Mon Mar 01 13:23:58 2021 +0000
+++ b/gtk3/dw.c	Tue Mar 02 00:12:48 2021 +0000
@@ -11929,6 +11929,8 @@
    if(g_application_id_is_valid(appid))
    {
       strncpy(_dw_app_id, appid, _DW_APP_ID_SIZE);
+      if(appname)
+      	g_set_application_name(appname);
       return DW_ERROR_NONE;
    }
    return DW_ERROR_GENERAL;