pidgin/gtkstatusbox.h

Fri, 14 Jan 2022 00:11:38 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 14 Jan 2022 00:11:38 -0600
changeset 41250
e82d07ed6862
parent 41124
95555046173e
permissions
-rw-r--r--

Remove purple_utf8_strftime

Testing Done:
Ran both finch and pidgin and verified that the timestamps in their debug windows remained the same format.

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

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
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
30 #include <gtk/gtk.h>
39607
58a24064b74a Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents: 38744
diff changeset
31
58a24064b74a Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents: 38744
diff changeset
32 #include <talkatu.h>
58a24064b74a Replace webkit in the statusbox with a talkatu editor.
Gary Kramlich <grim@reaperworld.com>
parents: 38744
diff changeset
33
40360
e21f3bbcc2a5 Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents: 39930
diff changeset
34 #include <purple.h>
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
35
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
36 G_BEGIN_DECLS
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
37
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
38 #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
39 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
40 GtkContainer);
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
41
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
42 GtkWidget *pidgin_status_box_new(void);
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
43 GtkWidget *pidgin_status_box_new_with_account(PurpleAccount *account);
10643
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 void pidgin_status_box_set_connecting(PidginStatusBox *status_box, gboolean connecting);
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
46
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
47 gchar *pidgin_status_box_get_message(PidginStatusBox *status_box);
10649
cd536d7aff51 [gaim-migrate @ 12167]
Sean Egan <seanegan@pidgin.im>
parents: 10643
diff changeset
48
10643
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
49 G_END_DECLS
70f67d7c84c4 [gaim-migrate @ 12153]
Sean Egan <seanegan@pidgin.im>
parents:
diff changeset
50
40682
edbc992e77be Some initial cleanups to PidginStatusBox
Gary Kramlich <grim@reaperworld.com>
parents: 40676
diff changeset
51 #endif /* PIDGIN_STATUS_BOX_H */

mercurial