Make gimp_pick_button_clicked properly private

This commit is contained in:
Kristian Rietveld
2015-10-04 17:14:10 +02:00
parent 0d88399eb8
commit e570eb0be4
3 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ static void gimp_pick_button_pick (GdkScreen *screen,
GimpPickButton *button); GimpPickButton *button);
void gimp_pick_button_clicked (GtkButton *gtk_button); void _gimp_pick_button_clicked (GtkButton *gtk_button);
static GdkCursor * static GdkCursor *
make_cursor (GdkDisplay *display) make_cursor (GdkDisplay *display)
@ -225,7 +225,7 @@ gimp_pick_button_pick (GdkScreen *screen,
/* entry point to this file, called from gimppickbutton.c */ /* entry point to this file, called from gimppickbutton.c */
void void
gimp_pick_button_clicked (GtkButton *gtk_button) _gimp_pick_button_clicked (GtkButton *gtk_button)
{ {
GimpPickButton *button = GIMP_PICK_BUTTON (gtk_button); GimpPickButton *button = GIMP_PICK_BUTTON (gtk_button);
GtkWidget *widget; GtkWidget *widget;

View File

@ -34,7 +34,7 @@
#endif #endif
void gimp_pick_button_clicked (GtkButton *gtk_button); void _gimp_pick_button_clicked (GtkButton *gtk_button);
@interface GimpPickWindowController : NSObject @interface GimpPickWindowController : NSObject
@ -400,7 +400,7 @@ void gimp_pick_button_clicked (GtkButton *gtk_button);
/* entrypoint to this file, called from gimppickbutton.c */ /* entrypoint to this file, called from gimppickbutton.c */
void void
gimp_pick_button_clicked (GtkButton *gtk_button) _gimp_pick_button_clicked (GtkButton *gtk_button)
{ {
GimpPickButton *button = GIMP_PICK_BUTTON (gtk_button); GimpPickButton *button = GIMP_PICK_BUTTON (gtk_button);
GimpPickWindowController *controller; GimpPickWindowController *controller;

View File

@ -51,7 +51,7 @@ enum
}; };
/* entry point to gimppickbutton-{default,quartz}.c */ /* entry point to gimppickbutton-{default,quartz}.c */
extern void gimp_pick_button_clicked (GtkButton *gtk_button); extern void _gimp_pick_button_clicked (GtkButton *gtk_button);
static void gimp_pick_button_dispose (GObject *object); static void gimp_pick_button_dispose (GObject *object);
@ -88,7 +88,7 @@ gimp_pick_button_class_init (GimpPickButtonClass* klass)
object_class->dispose = gimp_pick_button_dispose; object_class->dispose = gimp_pick_button_dispose;
button_class->clicked = gimp_pick_button_clicked; button_class->clicked = _gimp_pick_button_clicked;
klass->color_picked = NULL; klass->color_picked = NULL;
} }