pidgin/gtkstatusbox.h

Tue, 27 Jul 2021 02:24:48 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 27 Jul 2021 02:24:48 -0500
changeset 41000
cb640ea0f315
parent 40682
edbc992e77be
child 41124
95555046173e
permissions
-rw-r--r--

Use Meson summary() function.

Now that we require at least 0.52, we can use Meson's builtin summary printing to display the results of configuration.

Testing Done:
Configured with defaults, and with pixmaps disabled to trigger the warning: https://asciinema.org/a/mV2oxOoVCJNdmrPwgqqUJ3mkU?t=17

Reviewed at https://reviews.imfreedom.org/r/848/

40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
1 /*
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
2 * Pidgin - Internet Messenger
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
3 * Copyright (C) Pidgin Developers <devel@pidgin.im>
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
4 *
15572
e069b22c1fc4 headers to pidgin
Sean Egan <seanegan@pidgin.im>
parents: 15562
diff changeset
5 * Pidgin is the legal property of its developers, whose names are too numerous
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
6 * to list here. Please refer to the COPYRIGHT file distributed with this
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
7 * source distribution.
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
8 *
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
9 * This program is free software; you can redistribute it and/or modify
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
10 * it under the terms of the GNU General Public License as published by
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
11 * the Free Software Foundation; either version 2 of the License, or
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
12 * (at your option) any later version.
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
13 *
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful,
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
17 * GNU General Public License for more details.
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
18 *
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
20 * along with this program; if not, see <https://www.gnu.org/licenses/>.
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
21 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35455
diff changeset
22
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40484
diff changeset
23 #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40484
diff changeset
24 # error "only <pidgin.h> may be included directly"
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40484
diff changeset
25 #endif
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40484
diff changeset
26
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
27 #ifndef PIDGIN_STATUS_BOX_H
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
28 #define PIDGIN_STATUS_BOX_H
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
29
35451
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
30 /**
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
31 * SECTION:gtkstatusbox
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
32 * @section_id: pidgin-gtkstatusbox
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
33 * @short_description: <filename>gtkstatusbox.h</filename>
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
34 * @title: Status Selection Widget
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35417
diff changeset
35 */
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
36
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
37 #include <gtk/gtk.h>
39607
58a24064b74a Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents: 38744
diff changeset
38
58a24064b74a Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents: 38744
diff changeset
39 #include <talkatu.h>
58a24064b74a Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents: 38744
diff changeset
40
40360
e21f3bbcc2a5 Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents: 39930
diff changeset
41 #include <purple.h>
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
42
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
43 G_BEGIN_DECLS
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
44
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
45 #define PIDGIN_TYPE_STATUS_BOX (pidgin_status_box_get_type ())
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
46 G_DECLARE_FINAL_TYPE(PidginStatusBox, pidgin_status_box, PIDGIN, STATUS_BOX,
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
47 GtkContainer);
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
48
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
49 GtkWidget *pidgin_status_box_new(void);
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
50 GtkWidget *pidgin_status_box_new_with_account(PurpleAccount *account);
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
51
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
52 void pidgin_status_box_set_connecting(PidginStatusBox *status_box, gboolean connecting);
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
53
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
54 gchar *pidgin_status_box_get_message(PidginStatusBox *status_box);
10649
cd536d7aff51 [gaim-migrate @ 12167]
Sean Egan <seanegan@pidgin.im>
parents: 10643
diff changeset
55
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
56 G_END_DECLS
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
57
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
58 #endif /* PIDGIN_STATUS_BOX_H */

mercurial