Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /examples/basics.c [fb5bd1] .. [1a1357] Maximize Restore

  Switch to side-by-side view

--- a/examples/basics.c
+++ b/examples/basics.c
@@ -46,7 +46,7 @@
    GtkDataboxGraph *graph;
    gfloat *X;
    gfloat *Y;
-   GdkColor color;
+   GdkRGBA color;
    gint i;
 
    /* We define some data */
@@ -94,6 +94,7 @@
    color.red = 0;
    color.green = 0;
    color.blue = 0;
+   color.alpha = 1;
 
    graph = gtk_databox_points_new (POINTS, X, Y, &color, 1);
    gtk_databox_graph_add (GTK_DATABOX (box), graph);