[gtk+] Cosmetic changes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Cosmetic changes
- Date: Sat, 14 Jul 2012 03:06:20 +0000 (UTC)
commit 1bcefc47e16b0faae5df2be9ea04e1ed795ed3e1
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 13 23:05:36 2012 -0400
Cosmetic changes
gtk/gtkmenubutton.c | 56 +++++++++++++++++++++++++-------------------------
1 files changed, 28 insertions(+), 28 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index 7224f60..6aaada3 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -20,8 +20,8 @@
/**
* SECTION:gtkmenubutton
- * @Short_description: A widget that shows a menu when clicked on
- * @Title: GtkMenuButton
+ * @short_description: A widget that shows a menu when clicked on
+ * @title: GtkMenuButton
*
* The #GtkMenuButton widget is used to display a menu when clicked on.
* This menu can be provided either as a #GtkMenu, or an abstract #GMenuModel.
@@ -68,9 +68,9 @@ static void gtk_menu_button_finalize (GObject *object);
static void
gtk_menu_button_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec)
+ guint property_id,
+ const GValue *value,
+ GParamSpec *pspec)
{
GtkMenuButton *self = GTK_MENU_BUTTON (object);
@@ -95,9 +95,9 @@ gtk_menu_button_set_property (GObject *object,
static void
gtk_menu_button_get_property (GObject *object,
- guint property_id,
- GValue *value,
- GParamSpec *pspec)
+ guint property_id,
+ GValue *value,
+ GParamSpec *pspec)
{
GtkMenuButtonPrivate *priv = GTK_MENU_BUTTON (object)->priv;
@@ -132,11 +132,11 @@ gtk_menu_button_state_flags_changed (GtkWidget *widget,
}
static void
-menu_position_down_func (GtkMenu *menu,
- int *x,
- int *y,
- gboolean *push_in,
- GtkMenuButton *menu_button)
+menu_position_down_func (GtkMenu *menu,
+ gint *x,
+ gint *y,
+ gboolean *push_in,
+ GtkMenuButton *menu_button)
{
GtkMenuButtonPrivate *priv = menu_button->priv;
GtkWidget *widget = GTK_WIDGET (menu_button);
@@ -189,11 +189,11 @@ menu_position_down_func (GtkMenu *menu,
}
static void
-menu_position_up_func (GtkMenu *menu,
- gint *x,
- gint *y,
- gboolean *push_in,
- GtkMenuButton *menu_button)
+menu_position_up_func (GtkMenu *menu,
+ gint *x,
+ gint *y,
+ gboolean *push_in,
+ GtkMenuButton *menu_button)
{
GtkMenuButtonPrivate *priv = menu_button->priv;
GtkWidget *widget = GTK_WIDGET (menu_button);
@@ -242,11 +242,11 @@ menu_position_up_func (GtkMenu *menu,
}
static void
-menu_position_side_func (GtkMenu *menu,
- int *x,
- int *y,
- gboolean *push_in,
- GtkMenuButton *menu_button)
+menu_position_side_func (GtkMenu *menu,
+ gint *x,
+ gint *y,
+ gboolean *push_in,
+ GtkMenuButton *menu_button)
{
GtkMenuButtonPrivate *priv = menu_button->priv;
GtkAllocation toggle_allocation;
@@ -342,8 +342,8 @@ gtk_menu_button_toggled (GtkToggleButton *button)
}
static gboolean
-gtk_menu_button_button_press_event (GtkWidget *widget,
- GdkEventButton *event)
+gtk_menu_button_button_press_event (GtkWidget *widget,
+ GdkEventButton *event)
{
if (event->button == GDK_BUTTON_PRIMARY)
{
@@ -483,7 +483,7 @@ gtk_menu_button_new (void)
* when the pop-up menu disappears.
*/
static int
-menu_deactivate_cb (GtkMenuShell *menu_shell,
+menu_deactivate_cb (GtkMenuShell *menu_shell,
GtkMenuButton *menu_button)
{
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (menu_button), FALSE);
@@ -621,7 +621,7 @@ gtk_menu_button_get_menu (GtkMenuButton *menu_button)
*/
void
gtk_menu_button_set_menu_model (GtkMenuButton *menu_button,
- GMenuModel *menu_model)
+ GMenuModel *menu_model)
{
GtkMenuButtonPrivate *priv;
GtkWidget *menu;
@@ -677,7 +677,7 @@ gtk_menu_button_get_menu_model (GtkMenuButton *menu_button)
*/
void
gtk_menu_button_set_align_widget (GtkMenuButton *menu_button,
- GtkWidget *align_widget)
+ GtkWidget *align_widget)
{
GtkMenuButtonPrivate *priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]