fixed code style
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 26 Jun 2011 15:39:05 +0000 (15:39 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 26 Jun 2011 15:39:05 +0000 (15:39 +0000)
src/ui.c
src/ui_appindicator.c

index 5a00a93..23afe1a 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -31,9 +31,9 @@ on_delete_event_cb(GtkWidget *widget, GdkEvent *event, gpointer data)
        struct ui_psensor *ui = data;
 
 #if defined(HAVE_APPINDICATOR) || defined(HAVE_APPINDICATOR_029)
-       if (is_appindicator_supported()) 
+       if (is_appindicator_supported())
                gtk_widget_hide(ui->main_window);
-       else 
+       else
                ui_psensor_quit(ui);
 #else
        ui_psensor_quit(ui);
index d2c864e..c89c7a8 100644 (file)
@@ -230,7 +230,7 @@ void ui_appindicator_update(struct ui_psensor *ui)
        update_sensor_menu_items(ui->sensors);
 }
 
-static GtkStatusIconunity_fallback(AppIndicator *indicator)
+static GtkStatusIcon *unity_fallback(AppIndicator *indicator)
 {
        gtk_widget_show_all(main_window);