X-Git-Url: http://pileus.org/git/?p=aweather;a=blobdiff_plain;f=src%2Faweather-gui.c;h=6d5c96e3a1c67df2361dcfe6d29e3c78e963c767;hp=b59aa0caf516bdf20ea2c1d55b09bb7658913c06;hb=85c61bd1f0c45f2de7fee70b209fea4b0d25f6bc;hpb=14e94d9dd058feaf1da86a1e6e011828db14155a diff --git a/src/aweather-gui.c b/src/aweather-gui.c index b59aa0c..6d5c96e 100644 --- a/src/aweather-gui.c +++ b/src/aweather-gui.c @@ -560,7 +560,7 @@ void aweather_gui_attach_plugin(AWeatherGui *self, const gchar *name) gtk_notebook_append_page(GTK_NOTEBOOK(config), body, tab); gtk_widget_show_all(config); } - gtk_widget_queue_draw(GTK_WIDGET(self->viewer)); + grits_viewer_queue_draw(self->viewer); } void aweather_gui_deattach_plugin(AWeatherGui *self, const gchar *name) { @@ -577,7 +577,7 @@ void aweather_gui_deattach_plugin(AWeatherGui *self, const gchar *name) gtk_notebook_remove_page(GTK_NOTEBOOK(config), i); } grits_plugins_disable(self->plugins, name); - gtk_widget_queue_draw(GTK_WIDGET(self->viewer)); + grits_viewer_queue_draw(self->viewer); } void aweather_gui_load_plugins(AWeatherGui *self) {