diff options
Diffstat (limited to 'multiload/properties.c')
-rw-r--r-- | multiload/properties.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/multiload/properties.c b/multiload/properties.c index 97d750c5..9dd3cf6a 100644 --- a/multiload/properties.c +++ b/multiload/properties.c @@ -244,7 +244,9 @@ color_picker_set_cb(GtkColorButton *color_picker, gchar *key) gdk_color_parse(color_string, &(ma->graphs[prop_type]->colors[g_ascii_digit_value(key[strlen(key) - 1]) ]) ); +#if !GTK_CHECK_VERSION (3, 0, 0) ma->graphs[prop_type]->colors_allocated = FALSE; +#endif return; } @@ -635,7 +637,9 @@ multiload_properties_cb (GtkAction *action, gtk_widget_get_screen (GTK_WIDGET (ma->applet))); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE); gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); +#if !GTK_CHECK_VERSION (3, 0, 0) gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); +#endif gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 2); |