Silence compiler warnings

This commit is contained in:
Matthias Clasen
2012-05-30 14:28:16 -04:00
parent 9d35f7e512
commit 5c76c1b059
2 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@ do_css_accordion (GtkWidget *do_widget)
bytes = g_resources_lookup_data ("/css_accordion/gtk.css", 0, NULL); bytes = g_resources_lookup_data ("/css_accordion/gtk.css", 0, NULL);
data = g_bytes_get_data (bytes, &data_size); data = g_bytes_get_data (bytes, &data_size);
gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (provider), data, data_size, NULL); gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (provider), (gchar *)data, data_size, NULL);
apply_css (window, provider); apply_css (window, provider);
} }

View File

@ -84,7 +84,7 @@ do_css_multiplebgs (GtkWidget *do_widget)
{ {
if (!window) if (!window)
{ {
GtkWidget *paned, *container, *child, *b; GtkWidget *paned, *container, *child;
GtkStyleProvider *provider; GtkStyleProvider *provider;
GtkTextBuffer *text; GtkTextBuffer *text;
GBytes *bytes; GBytes *bytes;