]> Pileus Git - grits/blobdiff - src/plugin-example.c
site and time selection for both ridge and radar
[grits] / src / plugin-example.c
index 16dbdd31a346c060ba370385402b67dff8b70c17..a2fb36699aa91c3c8915b848a402a5edadd68ba5 100644 (file)
@@ -60,8 +60,8 @@ static gboolean rotate(gpointer user_data)
 
 gboolean example_init(AWeatherGui *gui)
 {
-       GtkDrawingArea *drawing = aweather_gui_get_drawing(gui);
-       GtkNotebook    *config  = aweather_gui_get_tabs(gui);
+       GtkWidget *drawing = aweather_gui_get_widget(gui, "drawing");
+       GtkWidget *config  = aweather_gui_get_widget(gui, "tabs");
 
        /* Add configuration tab */
        GtkWidget *label = gtk_label_new("example");