fix some warnings
This commit is contained in:
parent
4a591cf7d7
commit
a72d40284d
|
@ -298,7 +298,7 @@ editlist_treeview_new (GtkWidget *box, char *title1, char *title2)
|
|||
render = gtk_cell_renderer_text_new ();
|
||||
g_object_set (render, "editable", TRUE, NULL);
|
||||
g_signal_connect (G_OBJECT (render), "edited",
|
||||
G_CALLBACK (editlist_edited), NAME_COLUMN);
|
||||
G_CALLBACK (editlist_edited), GINT_TO_POINTER(NAME_COLUMN));
|
||||
gtk_tree_view_insert_column_with_attributes (
|
||||
GTK_TREE_VIEW (view), NAME_COLUMN,
|
||||
title1, render,
|
||||
|
@ -309,7 +309,7 @@ editlist_treeview_new (GtkWidget *box, char *title1, char *title2)
|
|||
render = gtk_cell_renderer_text_new ();
|
||||
g_object_set (render, "editable", TRUE, NULL);
|
||||
g_signal_connect (G_OBJECT (render), "edited",
|
||||
G_CALLBACK (editlist_edited), CMD_COLUMN);
|
||||
G_CALLBACK (editlist_edited), GINT_TO_POINTER(CMD_COLUMN));
|
||||
gtk_tree_view_insert_column_with_attributes (
|
||||
GTK_TREE_VIEW (view), CMD_COLUMN,
|
||||
title2, render,
|
||||
|
|
|
@ -3230,7 +3230,6 @@ void
|
|||
gtk_xtext_set_palette (GtkXText * xtext, GdkColor palette[])
|
||||
{
|
||||
int i;
|
||||
GdkColor col;
|
||||
|
||||
for (i = (XTEXT_COLS-1); i >= 0; i--)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue