Thu, 21 Nov 2019 20:40:08 -0600
Clean up some reference counting, doc comments and a build tweak
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* pidgin |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | * |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * source distribution. |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | * |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * This program is free software; you can redistribute it and/or modify |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * it under the terms of the GNU General Public License as published by |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | * the Free Software Foundation; either version 2 of the License, or |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | * (at your option) any later version. |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | * |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | * This program is distributed in the hope that it will be useful, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | * GNU General Public License for more details. |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | * |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | * You should have received a copy of the GNU General Public License |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * along with this program; if not, write to the Free Software |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | * |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | #ifndef PIDGIN_PLUGINS_DIALOG_H |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | #define PIDGIN_PLUGINS_DIALOG_H |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | /** |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | * SECTION:pidginpluginsdialog |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | * @section_id: pidgin-plugins-dialog |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | * @short_description: A widget to display available plugins |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | * @title: Plugins Dialog |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | */ |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | #include <gtk/gtk.h> |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | G_BEGIN_DECLS |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | #define PIDGIN_TYPE_PLUGINS_DIALOG (pidgin_plugins_dialog_get_type()) |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | G_DECLARE_FINAL_TYPE(PidginPluginsDialog, pidgin_plugins_dialog, PIDGIN, |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | PLUGINS_DIALOG, GtkDialog) |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | |
|
40225
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
41 | /** |
|
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
42 | * pidgin_plugins_dialog_new: |
|
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
43 | * |
|
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
44 | * Creates a new instance of #PidginPluginsDialog. |
|
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
45 | * |
|
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
46 | * Returns: (transfer full): The new #PidginPluginsDialog. |
|
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
47 | * |
|
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
48 | * Since: 3.0.0 |
|
b6f1592a07ec
Clean up some reference counting, doc comments and a build tweak
Gary Kramlich <grim@reaperworld.com>
parents:
40216
diff
changeset
|
49 | */ |
|
40216
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | GtkWidget *pidgin_plugins_dialog_new(void); |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
52 | G_END_DECLS |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | #endif /* PIDGIN_PLUGINS_DIALOG_H */ |
|
bf78d5476c6a
initial start of moving the plugins dialog to glade
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 |