]> Pileus Git - aweather/blobdiff - src/aweather-gui.h
Convert GtkBox and GtkScale to GTK 3 version
[aweather] / src / aweather-gui.h
index 396955cf35730dbb6d6f5c6d05b52d7d9d75c61d..c1c76bebd0c283f67d4bd3e7b99385c64fd94a85 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
+ * Copyright (C) 2009-2011 Andy Spencer <andy753421@gmail.com>
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
 #include <gtk/gtk.h>
 #include <glib-object.h>
 
-#include <gis.h>
+#include <grits.h>
 
 /* Type macros */
 #define AWEATHER_TYPE_GUI            (aweather_gui_get_type())
@@ -39,10 +39,11 @@ struct _AWeatherGui {
 
        /* instance members */
        GtkBuilder   *builder;
-       GisViewer    *viewer;
-       GisPlugins   *plugins;
-       GisPrefs     *prefs;
+       GritsViewer  *viewer;
+       GritsPlugins *plugins;
+       GritsPrefs   *prefs;
        GtkListStore *gtk_plugins;
+       guint         update_source;
 };
 
 struct _AWeatherGuiClass {
@@ -56,7 +57,7 @@ GType aweather_gui_get_type(void);
 /* Methods */
 AWeatherGui *aweather_gui_new();
 
-GisViewer   *aweather_gui_get_viewer(AWeatherGui *gui);
+GritsViewer *aweather_gui_get_viewer(AWeatherGui *gui);
 
 GtkWidget   *aweather_gui_get_widget(AWeatherGui *gui, const gchar *name);
 GObject     *aweather_gui_get_object(AWeatherGui *gui, const gchar *name);