summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-21 18:33:04 +0300
committermonsta <[email protected]>2016-11-21 18:33:04 +0300
commitdd2394ed246b94870fed979cf4435c586ddc6d9f (patch)
tree6b589d2fe95ce252a0ac213d140a86c09cc93dbb
parent4501110b3bf0d817b455549223bba64b301453ee (diff)
downloadmate-panel-dd2394ed246b94870fed979cf4435c586ddc6d9f.tar.bz2
mate-panel-dd2394ed246b94870fed979cf4435c586ddc6d9f.tar.xz
fix indent a bit
-rw-r--r--applets/clock/clock.c6
-rw-r--r--libmate-panel-applet/panel-plug.c2
-rw-r--r--mate-panel/button-widget.c2
-rw-r--r--mate-panel/libegg/eggsmclient-private.h7
-rw-r--r--mate-panel/libegg/eggsmclient.c6
-rw-r--r--mate-panel/panel-widget.c1
6 files changed, 12 insertions, 12 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index 880a5e58..bc83c651 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -258,8 +258,8 @@ static int
calculate_minimum_width (GtkWidget *widget,
const gchar *text)
{
- PangoContext *pango_context;
- PangoLayout *layout;
+ PangoContext *pango_context;
+ PangoLayout *layout;
int width, height;
#if !GTK_CHECK_VERSION (3, 19, 0)
int focus_width = 0;
@@ -293,7 +293,7 @@ calculate_minimum_width (GtkWidget *widget,
"focus-padding", &focus_pad,
NULL);
-width += 2 * (focus_width + focus_pad) + padding.left + padding.right;
+ width += 2 * (focus_width + focus_pad) + padding.left + padding.right;
#endif
#else
gtk_widget_style_get (widget,
diff --git a/libmate-panel-applet/panel-plug.c b/libmate-panel-applet/panel-plug.c
index 78ae9d5e..836285f3 100644
--- a/libmate-panel-applet/panel-plug.c
+++ b/libmate-panel-applet/panel-plug.c
@@ -85,7 +85,7 @@ panel_plug_class_init (PanelPlugClass *plug_class)
widget_class->realize = panel_plug_realize;
#if GTK_CHECK_VERSION (3, 19, 0)
- gtk_widget_class_set_css_name (widget_class, "PanelApplet");
+ gtk_widget_class_set_css_name (widget_class, "PanelApplet");
#endif
}
diff --git a/mate-panel/button-widget.c b/mate-panel/button-widget.c
index 8e5b38de..3e6c34c5 100644
--- a/mate-panel/button-widget.c
+++ b/mate-panel/button-widget.c
@@ -710,7 +710,7 @@ button_widget_size_allocate (GtkWidget *widget,
int size;
#if GTK_CHECK_VERSION (3, 0, 0)
- GTK_WIDGET_CLASS (button_widget_parent_class)->size_allocate (widget, allocation);
+ GTK_WIDGET_CLASS (button_widget_parent_class)->size_allocate (widget, allocation);
#endif
if (button_widget->priv->orientation & PANEL_HORIZONTAL_MASK)
diff --git a/mate-panel/libegg/eggsmclient-private.h b/mate-panel/libegg/eggsmclient-private.h
index 586d8957..ac64149f 100644
--- a/mate-panel/libegg/eggsmclient-private.h
+++ b/mate-panel/libegg/eggsmclient-private.h
@@ -36,11 +36,11 @@ void egg_sm_client_quit_cancelled (EggSMClient *client);
void egg_sm_client_quit (EggSMClient *client);
#if defined (GDK_WINDOWING_X11)
-# ifdef EGG_SM_CLIENT_BACKEND_XSMP
+#ifdef EGG_SM_CLIENT_BACKEND_XSMP
GType egg_sm_client_xsmp_get_type (void);
EggSMClient *egg_sm_client_xsmp_new (void);
-# endif
-# ifdef EGG_SM_CLIENT_BACKEND_DBUS
+#endif
+#ifdef EGG_SM_CLIENT_BACKEND_DBUS
GType egg_sm_client_dbus_get_type (void);
EggSMClient *egg_sm_client_dbus_new (void);
# endif
@@ -56,5 +56,4 @@ EggSMClient *egg_sm_client_osx_new (void);
}
#endif
-
#endif /* __EGG_SM_CLIENT_PRIVATE_H__ */
diff --git a/mate-panel/libegg/eggsmclient.c b/mate-panel/libegg/eggsmclient.c
index 2f65a75e..ae423051 100644
--- a/mate-panel/libegg/eggsmclient.c
+++ b/mate-panel/libegg/eggsmclient.c
@@ -344,10 +344,10 @@ egg_sm_client_get (void)
* (since it supports state saving) and fall back to D-Bus
* if XSMP isn't available.
*/
-# ifdef EGG_SM_CLIENT_BACKEND_XSMP
+#ifdef EGG_SM_CLIENT_BACKEND_XSMP
global_client = egg_sm_client_xsmp_new ();
-# endif
-# ifdef EGG_SM_CLIENT_BACKEND_DBUS
+#endif
+#ifdef EGG_SM_CLIENT_BACKEND_DBUS
if (!global_client)
global_client = egg_sm_client_dbus_new ();
# endif
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c
index b77446d9..39789cb3 100644
--- a/mate-panel/panel-widget.c
+++ b/mate-panel/panel-widget.c
@@ -3015,6 +3015,7 @@ panel_widget_background_changed (PanelBackground *background,
0);
}
#endif
+
static void
panel_widget_push_move_applet (PanelWidget *panel,
GtkDirectionType dir)