[gedit] document-panel: add missing cast
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] document-panel: add missing cast
- Date: Fri, 27 Nov 2015 17:58:18 +0000 (UTC)
commit 77164277a4f1e15f290c59863e5dbc61ed272d82
Author: Sebastien Lafargue <slafargue gnome org>
Date: Fri Nov 27 18:54:52 2015 +0100
document-panel: add missing cast
gedit/gedit-documents-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-documents-panel.c b/gedit/gedit-documents-panel.c
index 42bd2b1..e2bf982 100644
--- a/gedit/gedit-documents-panel.c
+++ b/gedit/gedit-documents-panel.c
@@ -963,7 +963,7 @@ panel_on_drag_begin (GtkWidget *widget,
name = gtk_label_get_label (GTK_LABEL (GEDIT_DOCUMENTS_DOCUMENT_ROW (drag_document_row)->label));
label = gtk_label_new (NULL);
- gtk_label_set_markup (label, name);
+ gtk_label_set_markup (GTK_LABEL (label), name);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_widget_set_valign (label, GTK_ALIGN_CENTER);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]