Skip to content

Commit 4afada7

Browse files
tamplanraveit65
authored and
raveit65
committed
Remove trailing whitespaces
1 parent 5bc6c2c commit 4afada7

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

configure.ac

+12-12
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ AC_SUBST(LIBS)
3535
# check for headers needed for standard interfaces
3636
AC_CHECK_HEADERS(
3737
stdlib.h \
38-
string.h \
38+
string.h \
3939
stdio.h \
40-
sys/types.h \
40+
sys/types.h \
4141
sys/socket.h \
4242
netinet/in.h \
4343
arpa/inet.h \
4444
fcntl.h \
4545
sys/ioctl.h \
4646
unistd.h \
4747
dlfcn.h
48-
)
48+
)
4949

5050
GLIB_REQUIRED=2.50.0
5151
GTK_REQUIRED=3.22.0
@@ -101,7 +101,7 @@ LIBNOTIFY_CFLAGS=
101101
LIBNOTIFY_LIBS=
102102

103103
# enable support even if not specifically asked for
104-
AC_ARG_ENABLE(libnotify,
104+
AC_ARG_ENABLE(libnotify,
105105
[ --enable-libnotify Enable libnotify support], [
106106
enable_libnotify=$enableval], [
107107
enable_libnotify="yes"
@@ -117,7 +117,7 @@ else
117117
if test "x$HAVE_LIBNOTIFY" = "xyes"
118118
then
119119
AC_DEFINE(HAVE_LIBNOTIFY, 1, [libnotify available])
120-
fi
120+
fi
121121
fi
122122

123123
AM_CONDITIONAL(LIBNOTIFY, test -n "$LIBNOTIFY_LIBS")
@@ -157,7 +157,7 @@ else
157157
else
158158
LIBSENSORS_LIBS="-lsensors"
159159
fi]))
160-
fi
160+
fi
161161

162162
AM_CONDITIONAL(LIBSENSORS, test -n "$LIBSENSORS_LIBS")
163163

@@ -190,22 +190,22 @@ else
190190
with_x11="yes"
191191
])
192192

193-
AC_CHECK_HEADERS(X11/Xlib.h,
193+
AC_CHECK_HEADERS(X11/Xlib.h,
194194
AC_CHECK_LIB(X11, XOpenDisplay, [ HAVE_X11=true ]))
195195
# can't embed next AC_CHECK_HEADERS in true case of AC_CHECK_LIB
196196
if test "${HAVE_X11}" = "true"; then
197197
LIBS="${LIBS} -lX11 -lXext"
198198
# need to specifically include X11/Xlib header when
199199
# doing checks for NVCtrl headers
200-
AC_CHECK_HEADERS(NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h, [ HAVE_NVIDIA=true ], [],
200+
AC_CHECK_HEADERS(NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h, [ HAVE_NVIDIA=true ], [],
201201
[
202202
#include <X11/Xlib.h>
203203
])
204204
if test "${HAVE_NVIDIA}" = "true"; then
205-
AC_CHECK_LIB(XNVCtrl, XNVCTRLQueryExtension, [
205+
AC_CHECK_LIB(XNVCtrl, XNVCTRLQueryExtension, [
206206
NVIDIA_LIBS="-lXNVCtrl"
207207
AC_DEFINE(HAVE_NVIDIA,1,[nvidia sensors available])
208-
])
208+
])
209209
fi
210210
fi
211211
fi
@@ -214,8 +214,8 @@ AM_CONDITIONAL(NVIDIA, test -n "$NVIDIA_LIBS")
214214
AC_SUBST(NVIDIA_CFLAGS)
215215
AC_SUBST(NVIDIA_LIBS)
216216

217-
AC_ARG_WITH(aticonfig,
218-
[ --with-aticonfig[=PATH] use aticonfig plugin with optional binary provided
217+
AC_ARG_WITH(aticonfig,
218+
[ --with-aticonfig[=PATH] use aticonfig plugin with optional binary provided
219219
by PATH], [
220220
if test "$withval" != "no" -a "$withval" != "yes"; then
221221
aticonfig_exe=$withval

sensors-applet/active-sensor.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ void active_sensor_update(ActiveSensor *active_sensor,
588588
* always display
589589
* units */
590590
value_tooltip = g_strdup_printf("%2.0f %s", sensor_value, UNITS_FAHRENHEIT);
591-
591+
592592
break;
593593
case CELSIUS:
594594
value_text = g_strdup_printf("%2.0f %s", sensor_value, (hide_units ? "" : UNITS_CELSIUS));
@@ -629,7 +629,7 @@ void active_sensor_update(ActiveSensor *active_sensor,
629629

630630
/* only do icons and labels / graphs if needed */
631631
display_mode = g_settings_get_int (sensors_applet->settings, DISPLAY_MODE);
632-
632+
633633
/* most users wont have a font size set */
634634
font_size = g_settings_get_int (sensors_applet->settings, FONT_SIZE);
635635

0 commit comments

Comments
 (0)