summaryrefslogtreecommitdiff
path: root/sci-chemistry/gperiodic/files/gperiodic-3.0.3-incompatible-pointers.patch
blob: b156532e9b5435bb573a0f28052aab5ca4ef0f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://bugs.gentoo.org/919213
Cast pointer as it is cast everywhere around it
--- a/gperiodic.c
+++ b/gperiodic.c
@@ -137,7 +137,7 @@
 	    if (col == 0) gtk_label_set_markup (GTK_LABEL (label), _(header.info[row]));
             else {
 	      gtk_label_set_markup (GTK_LABEL (label), _(entry->info[row]));
-	      gtk_label_set_selectable (label, TRUE);
+	      gtk_label_set_selectable (GTK_LABEL (label), TRUE);
 	    }
 
 	    gtk_misc_set_alignment(GTK_MISC(label), 0, 0);