Sat, 16 Nov 2019 13:37:56 +0300
Add PurpleAttr to use in lists instead of consecutive key and value elements
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
1 | /* pidgin |
| 15094 | 2 | * |
| 15572 | 3 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 15094 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
| 6 | * | |
| 7 | * This program is free software; you can redistribute it and/or modify | |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 18 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16289
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 15094 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35451
diff
changeset
|
21 | |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35451
diff
changeset
|
22 | #ifndef __PIDGIN_SCROLL_BOOK_H__ |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35451
diff
changeset
|
23 | #define __PIDGIN_SCROLL_BOOK_H__ |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
24 | /** |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
25 | * SECTION:gtkscrollbook |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
26 | * @section_id: pidgin-gtkscrollbook |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
27 | * @short_description: <filename>gtkscrollbook.h</filename> |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
28 | * @title: Scrolling Notebook Widget |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
29 | */ |
| 15094 | 30 | |
| 31 | #include <gtk/gtk.h> | |
| 32 | ||
| 33 | G_BEGIN_DECLS | |
| 34 | ||
| 15577 | 35 | #define PIDGIN_TYPE_SCROLL_BOOK (pidgin_scroll_book_get_type ()) |
| 36 | #define PIDGIN_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBook)) | |
| 37 | #define PIDGIN_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBookClass)) | |
| 38 | #define PIDGIN_IS_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_SCROLL_BOOK)) | |
| 39 | #define PIDGIN_IS_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), PIDGIN_TYPE_SCROLL_BOOK)) | |
| 40 | #define PIDGIN_SCROLL_BOOK_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBookClass)) | |
| 15094 | 41 | |
| 15577 | 42 | typedef struct _PidginScrollBook PidginScrollBook; |
| 43 | typedef struct _PidginScrollBookClass PidginScrollBookClass; | |
| 15094 | 44 | |
| 15577 | 45 | struct _PidginScrollBook |
| 15094 | 46 | { |
| 47 | GtkVBox parent_instance; | |
| 48 | ||
| 49 | GtkWidget *notebook; | |
| 50 | GtkWidget *hbox; | |
| 51 | GtkWidget *label; | |
| 52 | GtkWidget *left_arrow; | |
| 53 | GtkWidget *right_arrow; | |
|
21670
9ce6e7374523
This fixes the problem where all accounts are disabled due to connection
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20147
diff
changeset
|
54 | GList *children; |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
21670
diff
changeset
|
55 | |
|
35024
eb3afb7643ce
Added /*< private >*/ for padding members, clean them up and add missing ones
Ankit Vani <a@nevitus.org>
parents:
25888
diff
changeset
|
56 | /*< private >*/ |
| 15094 | 57 | void (*_gtk_reserved1) (void); |
| 58 | void (*_gtk_reserved2) (void); | |
| 59 | void (*_gtk_reserved3) (void); | |
| 60 | ||
| 61 | }; | |
| 62 | ||
| 63 | ||
| 15577 | 64 | struct _PidginScrollBookClass |
| 15094 | 65 | { |
|
21670
9ce6e7374523
This fixes the problem where all accounts are disabled due to connection
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20147
diff
changeset
|
66 | GtkContainerClass parent_class; |
| 15094 | 67 | |
|
35024
eb3afb7643ce
Added /*< private >*/ for padding members, clean them up and add missing ones
Ankit Vani <a@nevitus.org>
parents:
25888
diff
changeset
|
68 | /*< private >*/ |
| 15094 | 69 | void (*_gtk_reserved0) (void); |
| 70 | void (*_gtk_reserved1) (void); | |
| 71 | void (*_gtk_reserved2) (void); | |
| 72 | void (*_gtk_reserved3) (void); | |
| 73 | }; | |
| 74 | ||
| 75 | ||
| 15577 | 76 | GType pidgin_scroll_book_get_type (void) G_GNUC_CONST; |
| 77 | GtkWidget *pidgin_scroll_book_new (void); | |
| 15094 | 78 | |
| 79 | G_END_DECLS | |
| 80 | ||
| 15577 | 81 | #endif /* __PIDGIN_SCROLL_BOOK_H__ */ |