Sat, 07 Nov 2020 02:21:44 -0600
Rename a few things in Jabber SI xfer to be clearer.
A small followup to the previous review, which I noticed while working on Bonjour's version.
Testing Done:
compile only.
Reviewed at https://reviews.imfreedom.org/r/205/
|
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 | |
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
35487
diff
changeset
|
22 | #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:
35487
diff
changeset
|
23 | # 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:
35487
diff
changeset
|
24 | #endif |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
35487
diff
changeset
|
25 | |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35451
diff
changeset
|
26 | #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
|
27 | #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
|
28 | /** |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
29 | * SECTION:gtkscrollbook |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
30 | * @section_id: pidgin-gtkscrollbook |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
31 | * @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
|
32 | * @title: Scrolling Notebook Widget |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35024
diff
changeset
|
33 | */ |
| 15094 | 34 | |
| 35 | #include <gtk/gtk.h> | |
| 36 | ||
| 37 | G_BEGIN_DECLS | |
| 38 | ||
| 15577 | 39 | #define PIDGIN_TYPE_SCROLL_BOOK (pidgin_scroll_book_get_type ()) |
| 40 | #define PIDGIN_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBook)) | |
| 41 | #define PIDGIN_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBookClass)) | |
| 42 | #define PIDGIN_IS_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_SCROLL_BOOK)) | |
| 43 | #define PIDGIN_IS_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), PIDGIN_TYPE_SCROLL_BOOK)) | |
| 44 | #define PIDGIN_SCROLL_BOOK_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBookClass)) | |
| 15094 | 45 | |
| 15577 | 46 | typedef struct _PidginScrollBook PidginScrollBook; |
| 47 | typedef struct _PidginScrollBookClass PidginScrollBookClass; | |
| 15094 | 48 | |
| 15577 | 49 | struct _PidginScrollBook |
| 15094 | 50 | { |
| 51 | GtkVBox parent_instance; | |
| 52 | ||
| 53 | GtkWidget *notebook; | |
| 54 | GtkWidget *hbox; | |
| 55 | GtkWidget *label; | |
| 56 | GtkWidget *left_arrow; | |
| 57 | 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
|
58 | GList *children; |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
21670
diff
changeset
|
59 | |
|
35024
eb3afb7643ce
Added /*< private >*/ for padding members, clean them up and add missing ones
Ankit Vani <a@nevitus.org>
parents:
25888
diff
changeset
|
60 | /*< private >*/ |
| 15094 | 61 | void (*_gtk_reserved1) (void); |
| 62 | void (*_gtk_reserved2) (void); | |
| 63 | void (*_gtk_reserved3) (void); | |
| 64 | ||
| 65 | }; | |
| 66 | ||
| 67 | ||
| 15577 | 68 | struct _PidginScrollBookClass |
| 15094 | 69 | { |
|
21670
9ce6e7374523
This fixes the problem where all accounts are disabled due to connection
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20147
diff
changeset
|
70 | GtkContainerClass parent_class; |
| 15094 | 71 | |
|
35024
eb3afb7643ce
Added /*< private >*/ for padding members, clean them up and add missing ones
Ankit Vani <a@nevitus.org>
parents:
25888
diff
changeset
|
72 | /*< private >*/ |
| 15094 | 73 | void (*_gtk_reserved0) (void); |
| 74 | void (*_gtk_reserved1) (void); | |
| 75 | void (*_gtk_reserved2) (void); | |
| 76 | void (*_gtk_reserved3) (void); | |
| 77 | }; | |
| 78 | ||
| 79 | ||
| 15577 | 80 | GType pidgin_scroll_book_get_type (void) G_GNUC_CONST; |
| 81 | GtkWidget *pidgin_scroll_book_new (void); | |
| 15094 | 82 | |
| 83 | G_END_DECLS | |
| 84 | ||
| 15577 | 85 | #endif /* __PIDGIN_SCROLL_BOOK_H__ */ |