]> Pileus Git - grits/blobdiff - src/aweather-gui.h
* Removing glade (pure gtk-builder)
[grits] / src / aweather-gui.h
index 91e53d24bdabfb629b470682f18a1473ba4700f1..27383b258ccc293bc12f125ac055e13a5262d25d 100644 (file)
@@ -35,19 +35,16 @@ typedef struct _AWeatherGui      AWeatherGui;
 typedef struct _AWeatherGuiClass AWeatherGuiClass;
 
 struct _AWeatherGui {
-       GObject parent_instance;
+       GtkWindow parent_instance;
 
        /* instance members */
        AWeatherView   *view;
        GtkBuilder     *builder;
-       GtkWindow      *window;
-       GtkNotebook    *tabs;
-       GtkDrawingArea *drawing;
        GList          *plugins;
 };
 
 struct _AWeatherGuiClass {
-       GObjectClass parent_class;
+       GtkWindowClass parent_class;
        
        /* class members */
 };
@@ -58,6 +55,7 @@ GType aweather_gui_get_type(void);
 AWeatherGui    *aweather_gui_new();
 AWeatherView   *aweather_gui_get_view(AWeatherGui *gui);
 GtkWidget      *aweather_gui_get_widget(AWeatherGui *gui, const gchar *name);
+GObject        *aweather_gui_get_object(AWeatherGui *gui, const gchar *name);
 void            aweather_gui_register_plugin(AWeatherGui *gui, AWeatherPlugin *plugin);
 void            aweather_gui_gl_redraw(AWeatherGui *gui);
 void            aweather_gui_gl_begin(AWeatherGui *gui);