diff options
author | rbuj <[email protected]> | 2021-03-10 12:30:16 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-03-15 20:38:44 +0100 |
commit | d646ca2187ca959224f930f39919c9cf01d3cf85 (patch) | |
tree | 6b54a81b41e878fcf6e7e84adb656255f3bf8272 /sensors-applet/prefs-dialog.c | |
parent | 67e80c60a2da23692517d0ffe05e17fde64ee4dc (diff) | |
download | mate-sensors-applet-d646ca2187ca959224f930f39919c9cf01d3cf85.tar.bz2 mate-sensors-applet-d646ca2187ca959224f930f39919c9cf01d3cf85.tar.xz |
warning: declaration of ‘content_area’ shadows a previous local
Diffstat (limited to 'sensors-applet/prefs-dialog.c')
-rw-r--r-- | sensors-applet/prefs-dialog.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c index 98196d4..8e92c81 100644 --- a/sensors-applet/prefs-dialog.c +++ b/sensors-applet/prefs-dialog.c @@ -455,10 +455,7 @@ void prefs_dialog_open(SensorsApplet *sensors_applet) { /* if no SensorsList's have been created, this is because we haven't been able to access any sensors */ if (sensors_applet->sensors == NULL) { - GtkWidget *label; - GtkWidget *content_area; - label = gtk_label_new(_("No sensors found!")); - content_area = gtk_dialog_get_content_area (prefs_dialog->dialog); + GtkWidget *label = gtk_label_new(_("No sensors found!")); gtk_box_pack_start (GTK_BOX(content_area), label, FALSE, FALSE, 0); return; } |