From 3dcd5c6e78cc4d92c69ce584b524cd85ad830193 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Sat, 27 Sep 2014 16:02:29 +0200 Subject: [PATCH] fixed warning --- src/ui_taskpanel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui_taskpanel.c b/src/ui_taskpanel.c index d243391..1071f76 100644 --- a/src/ui_taskpanel.c +++ b/src/ui_taskpanel.c @@ -45,13 +45,13 @@ static void enable(int enable) if (current_task && current_task->recur) { gtk_widget_set_sensitive(GTK_WIDGET(w_taskremove_btn), FALSE); gtk_widget_set_tooltip_text - (w_taskremove_btn, + (GTK_WIDGET(w_taskremove_btn), "The removal of recurrent tasks is not supported due " "to the taskwarrior bug TW-638"); - gtk_widget_set_has_tooltip(w_taskremove_btn, TRUE); + gtk_widget_set_has_tooltip(GTK_WIDGET(w_taskremove_btn), TRUE); } else { gtk_widget_set_sensitive(GTK_WIDGET(w_taskremove_btn), enable); - gtk_widget_set_has_tooltip(w_taskremove_btn, FALSE); + gtk_widget_set_has_tooltip(GTK_WIDGET(w_taskremove_btn), FALSE); } gtk_widget_set_sensitive(GTK_WIDGET(w_taskcancel_btn), enable); -- 2.7.4