X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui.h;h=26229d3121a69d3af4a2d4522582845f99e17567;hb=30280041f93f4374ce36a151df44c2bc7495d807;hp=a68a6c92fccd1c0160b84dfe4e48ede44c9b1ac9;hpb=37afe949c5c7aff3abe6e030161c64c8603877b2;p=psensor.git diff --git a/src/ui.h b/src/ui.h index a68a6c9..26229d3 100644 --- a/src/ui.h +++ b/src/ui.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013 jeanfi@gmail.com + * Copyright (C) 2010-2014 jeanfi@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 @@ -26,7 +26,7 @@ #include #include -#if defined(HAVE_APPINDICATOR) || defined(HAVE_APPINDICATOR_029) +#if defined(HAVE_APPINDICATOR) #include #endif @@ -45,8 +45,6 @@ struct ui_psensor { GtkWidget *main_window; - GtkWidget *menu_bar; - GtkWidget *popup_menu; /* @@ -89,7 +87,7 @@ void ui_window_create(struct ui_psensor *ui); void ui_menu_bar_show(unsigned int show, struct ui_psensor *ui); -void ui_show_about_dialog(); +void ui_show_about_dialog(void); void ui_enable_alpha_channel(struct ui_psensor *ui); @@ -98,5 +96,5 @@ void ui_cb_about(GtkMenuItem *mi, gpointer data); void ui_cb_menu_quit(GtkMenuItem *mi, gpointer data); void ui_cb_sensor_preferences(GtkMenuItem *mi, gpointer data); -struct psensor **ui_get_sensors_ordered_by_position(const struct ui_psensor *); +struct psensor **ui_get_sensors_ordered_by_position(struct psensor **); #endif