[gtk+] selection: Hi, I can't get my code right
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] selection: Hi, I can't get my code right
- Date: Mon, 18 Oct 2010 17:26:11 +0000 (UTC)
commit 3a55137709c0562464b3ad46ad538de2484fd903
Author: Benjamin Otte <otte redhat com>
Date: Mon Oct 18 18:29:51 2010 +0200
selection: Hi, I can't get my code right
Also, I refuse to compile with -Werror, so I don't notice.
gtk/gtkselection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index fc0f031..999652c 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -3132,7 +3132,7 @@ gtk_target_entry_new (const char *target,
guint flags,
guint info)
{
- GtkTargetEntry entry = { target, flags, info };
+ GtkTargetEntry entry = { (char *) target, flags, info };
return gtk_target_entry_copy (&entry);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]