[gtk+] Fix compilation warning: cast to GTK_LABEL()



commit f332506804b2697bce570de78bfea0673ab73343
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Dec 2 02:11:59 2009 +0100

    Fix compilation warning: cast to GTK_LABEL()
    
    This was introduced in commit 478ca88ae5393c422f7c72795d7dd0df29108511

 gtk/gtkaboutdialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index dd6266c..92aad3d 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -842,7 +842,7 @@ update_website (GtkAboutDialog *about)
                                     priv->website_url, priv->website_url);
         }
 
-      gtk_label_set_markup (priv->website_label, markup);
+      gtk_label_set_markup (GTK_LABEL (priv->website_label), markup);
       g_free (markup);
     }
   else



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