summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-22 16:48:28 +0300
committermonsta <[email protected]>2016-11-22 16:57:06 +0300
commit0e5ba8dc3799a77c4a070dd33e6ec9e678345a94 (patch)
treed5b313af3171a2ab5a12562bb9c1da009da72e7b
parent760372cfb15b0955ac63155223892faad59c6a98 (diff)
downloadmate-applets-0e5ba8dc3799a77c4a070dd33e6ec9e678345a94.tar.bz2
mate-applets-0e5ba8dc3799a77c4a070dd33e6ec9e678345a94.tar.xz
fix some indent and a couple of typos
-rw-r--r--configure.ac2
-rw-r--r--cpufreq/src/cpufreq-applet.c2
-rw-r--r--drivemount/drive-button.c2
-rw-r--r--drivemount/drive-list.c2
-rw-r--r--geyes/themes.c4
-rw-r--r--netspeed/src/netspeed.c56
6 files changed, 34 insertions, 34 deletions
diff --git a/configure.ac b/configure.ac
index 9591faaa..6d88360f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -117,7 +117,7 @@ dnl ***************************************************************************
dnl ***************************************************************************
-dnl *** Use pkg-config to check for dependancies ***
+dnl *** Use pkg-config to check for dependencies ***
dnl ***************************************************************************
dnl -- check for gio (required) ------------------------------------------
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index 2f098b9a..629a8333 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -525,7 +525,7 @@ cpufreq_applet_popup_position_menu (GtkMenu *menu,
*x = menu_xpos;
*y = menu_ypos;
#if GTK_CHECK_VERSION (3, 0, 0)
- if (push_in) *push_in = FALSE; /*fix botttom panel menu rendering in gtk3*/
+ if (push_in) *push_in = FALSE; /*fix bottom panel menu rendering in gtk3*/
#else
*push_in = TRUE;
#endif
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index 8be9d02b..e94d45a4 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -22,7 +22,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include <config.h>
+#include <config.h>
#endif
#include <gio/gio.h>
diff --git a/drivemount/drive-list.c b/drivemount/drive-list.c
index a6b811ec..a1018398 100644
--- a/drivemount/drive-list.c
+++ b/drivemount/drive-list.c
@@ -22,7 +22,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include <config.h>
+#include <config.h>
#endif
#include <gio/gio.h>
diff --git a/geyes/themes.c b/geyes/themes.c
index 58a82679..b2167288 100644
--- a/geyes/themes.c
+++ b/geyes/themes.c
@@ -321,7 +321,7 @@ properties_cb (GtkAction *action,
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT);
#if GTK_CHECK_VERSION (3, 16, 0)
- gtk_label_set_xalign (GTK_LABEL (label), 0.0);
+ gtk_label_set_xalign (GTK_LABEL (label), 0.0);
#else
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
#endif
@@ -343,7 +343,7 @@ properties_cb (GtkAction *action,
label = gtk_label_new_with_mnemonic (_("_Select a theme:"));
#if GTK_CHECK_VERSION (3, 16, 0)
- gtk_label_set_xalign (GTK_LABEL (label), 0.0);
+ gtk_label_set_xalign (GTK_LABEL (label), 0.0);
#else
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
#endif
diff --git a/netspeed/src/netspeed.c b/netspeed/src/netspeed.c
index f2eac2f9..734d0785 100644
--- a/netspeed/src/netspeed.c
+++ b/netspeed/src/netspeed.c
@@ -1012,8 +1012,8 @@ settings_cb(GtkAction *action, gpointer data)
gtk_label_set_use_markup(GTK_LABEL(category_header_label), TRUE);
gtk_label_set_justify(GTK_LABEL(category_header_label), GTK_JUSTIFY_LEFT);
#if GTK_CHECK_VERSION (3, 16, 0)
- gtk_label_set_xalign (GTK_LABEL (category_header_label), 0.0);
- gtk_label_set_yalign (GTK_LABEL (category_header_label), 0.5);
+ gtk_label_set_xalign (GTK_LABEL (category_header_label), 0.0);
+ gtk_label_set_yalign (GTK_LABEL (category_header_label), 0.5);
#else
gtk_misc_set_alignment(GTK_MISC (category_header_label), 0.0, 0.5);
#endif
@@ -1036,8 +1036,8 @@ settings_cb(GtkAction *action, gpointer data)
network_device_label = gtk_label_new_with_mnemonic(_("Network _device:"));
gtk_label_set_justify(GTK_LABEL(network_device_label), GTK_JUSTIFY_LEFT);
#if GTK_CHECK_VERSION (3, 16, 0)
- gtk_label_set_xalign (GTK_LABEL (network_device_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (network_device_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (network_device_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (network_device_label), 0.5f);
#else
gtk_misc_set_alignment(GTK_MISC(network_device_label), 0.0f, 0.5f);
#endif
@@ -1324,30 +1324,30 @@ showinfo_cb(GtkAction *action, gpointer data)
gtk_label_set_selectable(GTK_LABEL(ptpip_text), TRUE);
#if GTK_CHECK_VERSION (3, 16, 0)
- gtk_label_set_xalign (GTK_LABEL (ip_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (ip_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (ip_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (ip_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (netmask_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (netmask_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (netmask_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (netmask_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (hwaddr_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (hwaddr_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (hwaddr_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (hwaddr_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (ptpip_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (ptpip_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (ptpip_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (ptpip_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (inbytes_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (inbytes_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (applet->inbytes_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (applet->inbytes_text), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (outbytes_label), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (outbytes_label), 0.5f);
- gtk_label_set_xalign (GTK_LABEL (applet->outbytes_text), 0.0f);
- gtk_label_set_yalign (GTK_LABEL (applet->outbytes_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (ip_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (ip_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (ip_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (ip_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (netmask_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (netmask_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (netmask_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (netmask_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (hwaddr_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (hwaddr_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (hwaddr_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (hwaddr_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (ptpip_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (ptpip_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (ptpip_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (ptpip_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (inbytes_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (inbytes_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (applet->inbytes_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (applet->inbytes_text), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (outbytes_label), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (outbytes_label), 0.5f);
+ gtk_label_set_xalign (GTK_LABEL (applet->outbytes_text), 0.0f);
+ gtk_label_set_yalign (GTK_LABEL (applet->outbytes_text), 0.5f);
#else
gtk_misc_set_alignment(GTK_MISC(ip_label), 0.0f, 0.5f);
gtk_misc_set_alignment(GTK_MISC(ip_text), 0.0f, 0.5f);