projects
/
ptask.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2336c84
)
fixed warning
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sat, 27 Sep 2014 14:02:29 +0000
(16:02 +0200)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sat, 27 Sep 2014 14:02:29 +0000
(16:02 +0200)
src/ui_taskpanel.c
patch
|
blob
|
history
diff --git
a/src/ui_taskpanel.c
b/src/ui_taskpanel.c
index
d243391
..
1071f76
100644
(file)
--- 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
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");
"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);
} 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);
}
gtk_widget_set_sensitive(GTK_WIDGET(w_taskcancel_btn), enable);