[tasks] Fix a compile warning due to a missing cast



commit cbb89549eb62343782d942be5178892fb9e50aad
Author: Ross Burton <ross linux intel com>
Date:   Mon Mar 1 18:16:15 2010 +0000

    Fix a compile warning due to a missing cast

 libkoto/koto-hint-entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libkoto/koto-hint-entry.c b/libkoto/koto-hint-entry.c
index 73426cf..2b09aad 100644
--- a/libkoto/koto-hint-entry.c
+++ b/libkoto/koto-hint-entry.c
@@ -54,7 +54,7 @@ update (KotoHintEntry *entry)
 
   text = gtk_entry_get_text (GTK_ENTRY (entry));
 
-  if (gtk_widget_has_focus (entry)) {
+  if (gtk_widget_has_focus (GTK_WIDGET (entry))) {
     if (priv->state == STATE_HINTING) {
       priv->state = STATE_ENTRY;
       gtk_widget_modify_text (widget, GTK_STATE_NORMAL, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]