Mercurial > pidgin
comparison console/libgnt/gntwidget.h @ 14325:985e5e3f6f2c
[gaim-migrate @ 17020]
Some distros put the ncursesw headers in ncursesw/, some don't.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 24 Aug 2006 19:41:34 +0000 |
parents | a0b1ab181316 |
children | b1b76fb9c739 |
comparison
equal
deleted
inserted
replaced
14324:2d7086454b08 | 14325:985e5e3f6f2c |
---|---|
2 #define GNT_WIDGET_H | 2 #define GNT_WIDGET_H |
3 | 3 |
4 #include <stdio.h> | 4 #include <stdio.h> |
5 #include <glib.h> | 5 #include <glib.h> |
6 #include <glib-object.h> | 6 #include <glib-object.h> |
7 #include <ncursesw/curses.h> | 7 #ifdef HAVE_NCURSESW_INC |
8 #include <ncursesw/ncurses.h> | |
9 #else | |
10 #include <ncurses.h> | |
11 #endif | |
8 | 12 |
9 #define GNT_TYPE_WIDGET (gnt_widget_get_gtype()) | 13 #define GNT_TYPE_WIDGET (gnt_widget_get_gtype()) |
10 #define GNT_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WIDGET, GntWidget)) | 14 #define GNT_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_WIDGET, GntWidget)) |
11 #define GNT_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_WIDGET, GntWidgetClass)) | 15 #define GNT_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_WIDGET, GntWidgetClass)) |
12 #define GNT_IS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WIDGET)) | 16 #define GNT_IS_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_WIDGET)) |