]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkclist.h
applied modified patch from maemo-gtk which adds a "horizontal-padding"
[~andy/gtk] / gtk / gtkclist.h
index ae7cbaed6b9ba02fef7c9a001e1b2c847f647b91..6d5ca31a7e660fd48bc582dca2b420f6f93bd0d6 100644 (file)
@@ -39,9 +39,9 @@
 #include <gtk/gtkvscrollbar.h>
 #include <gtk/gtkenums.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+
+G_BEGIN_DECLS
+
 
 /* clist flags */
 enum {
@@ -631,16 +631,16 @@ gint gtk_clist_get_pixtext (GtkCList   *clist,
 /* sets the foreground color of a row, the color must already
  * be allocated
  */
-void gtk_clist_set_foreground (GtkCList *clist,
-                              gint      row,
-                              GdkColor *color);
+void gtk_clist_set_foreground (GtkCList       *clist,
+                              gint            row,
+                              const GdkColor *color);
 
 /* sets the background color of a row, the color must already
  * be allocated
  */
-void gtk_clist_set_background (GtkCList *clist,
-                              gint      row,
-                              GdkColor *color);
+void gtk_clist_set_background (GtkCList       *clist,
+                              gint            row,
+                              const GdkColor *color);
 
 /* set / get cell styles */
 void gtk_clist_set_cell_style (GtkCList *clist,
@@ -785,9 +785,9 @@ PangoLayout *_gtk_clist_create_cell_layout (GtkCList       *clist,
                                            GtkCListRow    *clist_row,
                                            gint            column);
 
-#ifdef __cplusplus
-}
-#endif                         /* __cplusplus */
+
+G_END_DECLS
+
 
 #endif                         /* __GTK_CLIST_H__ */