Sun, 16 Aug 2009 03:22:58 +0000
Make gnt_keys_refine UTF8-compatible. Note, the rest of the tests don't
need to be changed as multi-byte UTF8 values are always >128.
Fixes #2504.
| 15094 | 1 | /* |
| 2 | * @file gtkscrollbook GTK+ Scrolling notebook Widget | |
|
16254
eeb2bba4dc94
Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@pidgin.im>
parents:
15931
diff
changeset
|
3 | * @ingroup pidgin |
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
4 | */ |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
5 | |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
6 | /* pidgin |
| 15094 | 7 | * |
| 15572 | 8 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 15094 | 9 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 10 | * source distribution. | |
| 11 | * | |
| 12 | * This program is free software; you can redistribute it and/or modify | |
| 13 | * it under the terms of the GNU General Public License as published by | |
| 14 | * the Free Software Foundation; either version 2 of the License, or | |
| 15 | * (at your option) any later version. | |
| 16 | * | |
| 17 | * This program is distributed in the hope that it will be useful, | |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 20 | * GNU General Public License for more details. | |
| 21 | * | |
| 22 | * You should have received a copy of the GNU General Public License | |
| 23 | * 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
|
24 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 15094 | 25 | */ |
| 26 | ||
| 15577 | 27 | #ifndef __PIDGIN_SCROLL_BOOK_H__ |
| 28 | #define __PIDGIN_SCROLL_BOOK_H__ | |
| 15094 | 29 | |
| 30 | #include <gtk/gtk.h> | |
| 31 | ||
| 32 | G_BEGIN_DECLS | |
| 33 | ||
| 15577 | 34 | #define PIDGIN_TYPE_SCROLL_BOOK (pidgin_scroll_book_get_type ()) |
| 35 | #define PIDGIN_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBook)) | |
| 36 | #define PIDGIN_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBookClass)) | |
| 37 | #define PIDGIN_IS_SCROLL_BOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_SCROLL_BOOK)) | |
| 38 | #define PIDGIN_IS_SCROLL_BOOK_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), PIDGIN_TYPE_SCROLL_BOOK)) | |
| 39 | #define PIDGIN_SCROLL_BOOK_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), PIDGIN_TYPE_SCROLL_BOOK, PidginScrollBookClass)) | |
| 15094 | 40 | |
| 15577 | 41 | typedef struct _PidginScrollBook PidginScrollBook; |
| 42 | typedef struct _PidginScrollBookClass PidginScrollBookClass; | |
| 15094 | 43 | |
| 15577 | 44 | struct _PidginScrollBook |
| 15094 | 45 | { |
| 46 | GtkVBox parent_instance; | |
| 47 | ||
| 48 | GtkWidget *notebook; | |
| 49 | GtkWidget *hbox; | |
| 50 | GtkWidget *label; | |
| 51 | GtkWidget *left_arrow; | |
| 52 | 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
|
53 | GList *children; |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
21670
diff
changeset
|
54 | |
| 15094 | 55 | /* Padding for future expansion */ |
| 56 | void (*_gtk_reserved1) (void); | |
| 57 | void (*_gtk_reserved2) (void); | |
| 58 | void (*_gtk_reserved3) (void); | |
| 59 | ||
| 60 | }; | |
| 61 | ||
| 62 | ||
| 15577 | 63 | struct _PidginScrollBookClass |
| 15094 | 64 | { |
|
21670
9ce6e7374523
This fixes the problem where all accounts are disabled due to connection
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
20147
diff
changeset
|
65 | GtkContainerClass parent_class; |
| 15094 | 66 | |
| 67 | /* Padding for future expansion */ | |
| 68 | void (*_gtk_reserved0) (void); | |
| 69 | void (*_gtk_reserved1) (void); | |
| 70 | void (*_gtk_reserved2) (void); | |
| 71 | void (*_gtk_reserved3) (void); | |
| 72 | }; | |
| 73 | ||
| 74 | ||
| 15577 | 75 | GType pidgin_scroll_book_get_type (void) G_GNUC_CONST; |
| 76 | GtkWidget *pidgin_scroll_book_new (void); | |
| 15094 | 77 | |
| 78 | G_END_DECLS | |
| 79 | ||
| 15577 | 80 | #endif /* __PIDGIN_SCROLL_BOOK_H__ */ |