gdk_gc_set_dashes expects a list of gint8, not guint8.

2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
    (gtk_tree_view_set_enable_tree_lines):
    gdk_gc_set_dashes expects a list of gint8, not guint8.


svn path=/trunk/; revision=20468
This commit is contained in:
Johan Dahlin 2008-06-19 14:07:28 +00:00 committed by Johan Dahlin
parent 6ef2f57450
commit 9678ce2eb9
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-06-19 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
(gtk_tree_view_set_enable_tree_lines):
gdk_gc_set_dashes expects a list of gint8, not guint8.
2008-06-19 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkmenu.c (gtk_menu_set_accel_path):

View File

@ -15088,7 +15088,7 @@ gtk_tree_view_set_grid_lines (GtkTreeView *tree_view,
!priv->grid_line_gc)
{
gint line_width;
guint8 *dash_list;
gint8 *dash_list;
gtk_widget_style_get (widget,
"grid-line-width", &line_width,
@ -15174,7 +15174,7 @@ gtk_tree_view_set_enable_tree_lines (GtkTreeView *tree_view,
if (enabled && !priv->tree_line_gc)
{
gint line_width;
guint8 *dash_list;
gint8 *dash_list;
gtk_widget_style_get (widget,
"tree-line-width", &line_width,
"tree-line-pattern", (gchar *)&dash_list,