evolution-3.6.4/mail/e-mail-display-popup-extension.c

No issues found

Incomplete coverage

Tool Failure ID Location Function Message Data
clang-analyzer no-output-found e-mail-display-popup-extension.c Message(text='Unable to locate XML output from invoke-clang-analyzer') None
clang-analyzer no-output-found e-mail-display-popup-extension.c Message(text='Unable to locate XML output from invoke-clang-analyzer') None
Failure running clang-analyzer ('no-output-found')
Message
Unable to locate XML output from invoke-clang-analyzer
Failure running clang-analyzer ('no-output-found')
Message
Unable to locate XML output from invoke-clang-analyzer
 1 /*
 2  * e-mail-display-popup-extension.c
 3  *
 4  * This program is free software; you can redistribute it and/or
 5  * modify it under the terms of the GNU Lesser General Public
 6  * License as published by the Free Software Foundation; either
 7  * version 2 of the License, or (at your option) version 3.
 8  *
 9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with the program; if not, see <http://www.gnu.org/licenses/>
16  *
17  */
18 
19 #include "e-mail-display-popup-extension.h"
20 #include "e-mail-display.h"
21 
22 G_DEFINE_INTERFACE (
23 	EMailDisplayPopupExtension,
24 	e_mail_display_popup_extension,
25 	G_TYPE_OBJECT)
26 
27 static void
28 e_mail_display_popup_extension_default_init (EMailDisplayPopupExtensionInterface *iface)
29 {
30 
31 }
32 
33 /**
34  * e_mail_display_popup_extension_update_actions:
35  *
36  * @extension: An object derived from #EMailDisplayPopupExtension
37  * @context: A #WebKitHitTestResult describing context of the popup menu
38  *
39  * When #EMailDisplay is about to display a popup menu, it calls this function
40  * on every extension so that they can add their items to the menu.
41  */
42 void
43 e_mail_display_popup_extension_update_actions (EMailDisplayPopupExtension *extension,
44                                                WebKitHitTestResult *context)
45 {
46 	EMailDisplayPopupExtensionInterface *iface;
47 
48 	g_return_if_fail (E_IS_MAIL_DISPLAY_POPUP_EXTENSION (extension));
49 
50 	iface = E_MAIL_DISPLAY_POPUP_EXTENSION_GET_INTERFACE (extension);
51 	g_return_if_fail (iface->update_actions != NULL);
52 
53 	iface->update_actions (extension, context);
54 }