Avoid some compilation warnings
This commit is contained in:
parent
09c288a1fe
commit
6db59bd168
|
@ -640,7 +640,7 @@ void todo_task_cursor_changed(Todo * todo)
|
||||||
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, TRUE, 0);
|
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, TRUE, 0);
|
||||||
/* close button */
|
/* close button */
|
||||||
button = gtk_button_new();
|
button = gtk_button_new();
|
||||||
image = gtk_image_new_from_stock(GTK_STOCK_CLOSE,
|
image = gtk_image_new_from_icon_name("gtk-close",
|
||||||
GTK_ICON_SIZE_MENU);
|
GTK_ICON_SIZE_MENU);
|
||||||
gtk_button_set_image(GTK_BUTTON(button), image);
|
gtk_button_set_image(GTK_BUTTON(button), image);
|
||||||
gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE);
|
gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE);
|
||||||
|
@ -1218,6 +1218,7 @@ static void _todo_on_task_done_toggled(GtkCellRendererToggle * renderer,
|
||||||
{
|
{
|
||||||
Todo * todo = data;
|
Todo * todo = data;
|
||||||
GtkTreePath * treepath;
|
GtkTreePath * treepath;
|
||||||
|
(void) renderer;
|
||||||
|
|
||||||
treepath = gtk_tree_path_new_from_string(path);
|
treepath = gtk_tree_path_new_from_string(path);
|
||||||
todo_task_toggle_done(todo, treepath);
|
todo_task_toggle_done(todo, treepath);
|
||||||
|
@ -1231,6 +1232,7 @@ static void _todo_on_task_priority_edited(GtkCellRendererText * renderer,
|
||||||
{
|
{
|
||||||
Todo * todo = data;
|
Todo * todo = data;
|
||||||
GtkTreePath * treepath;
|
GtkTreePath * treepath;
|
||||||
|
(void) renderer;
|
||||||
|
|
||||||
treepath = gtk_tree_path_new_from_string(path);
|
treepath = gtk_tree_path_new_from_string(path);
|
||||||
todo_task_set_priority(todo, treepath, priority);
|
todo_task_set_priority(todo, treepath, priority);
|
||||||
|
@ -1244,6 +1246,7 @@ static void _todo_on_task_title_edited(GtkCellRendererText * renderer,
|
||||||
{
|
{
|
||||||
Todo * todo = data;
|
Todo * todo = data;
|
||||||
GtkTreePath * treepath;
|
GtkTreePath * treepath;
|
||||||
|
(void) renderer;
|
||||||
|
|
||||||
treepath = gtk_tree_path_new_from_string(path);
|
treepath = gtk_tree_path_new_from_string(path);
|
||||||
todo_task_set_title(todo, treepath, title);
|
todo_task_set_title(todo, treepath, title);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user