Mercurial > dwindows
comparison os2/dw.c @ 2095:a3e176450077
OS/2: Fix a warning in dw_notication_new(), return 0 not NULL.
Also move dw_init() above the feature tests. PMPrintf support gets loaded
in dw_init() so the feature test results don't display if called before.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 11 Jun 2020 03:22:27 +0000 |
parents | 68f1924fdd13 |
children | 251d050d306b |
comparison
equal
deleted
inserted
replaced
2094:8de0a767c0e5 | 2095:a3e176450077 |
---|---|
12406 * This will create a system notification that will show in the notifaction panel | 12406 * This will create a system notification that will show in the notifaction panel |
12407 * on supported systems, which may be clicked to perform another task. | 12407 * on supported systems, which may be clicked to perform another task. |
12408 */ | 12408 */ |
12409 HWND API dw_notification_new(const char *title, HPIXMAP pixmap, const char *description, ...) | 12409 HWND API dw_notification_new(const char *title, HPIXMAP pixmap, const char *description, ...) |
12410 { | 12410 { |
12411 return NULL; | 12411 return 0; |
12412 } | 12412 } |
12413 | 12413 |
12414 /* | 12414 /* |
12415 * Sends a notification created by dw_notification_new() after attaching signal handler. | 12415 * Sends a notification created by dw_notification_new() after attaching signal handler. |
12416 * Parameters: | 12416 * Parameters: |