forked from AuroraMiddleware/gtk
Remove unneeded GtkColorSelectionDialog accessors
svn path=/trunk/; revision=20624
This commit is contained in:
parent
dcbc5d021f
commit
1a13990f6e
@ -830,10 +830,7 @@ gtk_color_selection_set_previous_color
|
|||||||
#if IN_FILE(__GTK_COLOR_SELECTION_DIALOG_C__)
|
#if IN_FILE(__GTK_COLOR_SELECTION_DIALOG_C__)
|
||||||
gtk_color_selection_dialog_get_type G_GNUC_CONST
|
gtk_color_selection_dialog_get_type G_GNUC_CONST
|
||||||
gtk_color_selection_dialog_new
|
gtk_color_selection_dialog_new
|
||||||
gtk_color_selection_dialog_get_cancel_button
|
|
||||||
gtk_color_selection_dialog_get_color_selection
|
gtk_color_selection_dialog_get_color_selection
|
||||||
gtk_color_selection_dialog_get_help_button
|
|
||||||
gtk_color_selection_dialog_get_ok_button
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -198,51 +198,11 @@ gtk_color_selection_dialog_new (const gchar *title)
|
|||||||
GtkWidget*
|
GtkWidget*
|
||||||
gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel)
|
gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel)
|
||||||
{
|
{
|
||||||
|
g_return_val_if_fail (GTK_IS_COLOR_SELECTION (colorsel), NULL);
|
||||||
|
|
||||||
return colorsel->colorsel;
|
return colorsel->colorsel;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* gtk_color_selection_dialog_get_ok_button:
|
|
||||||
* @colorsel: a #GtkColorSelectionDialog
|
|
||||||
*
|
|
||||||
* Retrieves the OK button of the dialog.
|
|
||||||
*
|
|
||||||
* Since: GSEAL-branch
|
|
||||||
**/
|
|
||||||
GtkWidget*
|
|
||||||
gtk_color_selection_dialog_get_ok_button (GtkColorSelectionDialog *colorsel)
|
|
||||||
{
|
|
||||||
return colorsel->ok_button;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gtk_color_selection_dialog_get_cancel_button:
|
|
||||||
* @colorsel: a #GtkColorSelectionDialog
|
|
||||||
*
|
|
||||||
* Retrieves the cancel button of the dialog.
|
|
||||||
*
|
|
||||||
* Since: GSEAL-branch
|
|
||||||
**/
|
|
||||||
GtkWidget*
|
|
||||||
gtk_color_selection_dialog_get_cancel_button (GtkColorSelectionDialog *colorsel)
|
|
||||||
{
|
|
||||||
return colorsel->cancel_button;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* gtk_color_selection_dialog_get_help_button:
|
|
||||||
* @colorsel: a #GtkColorSelectionDialog
|
|
||||||
*
|
|
||||||
* Retrieves the help button of the dialog.
|
|
||||||
*
|
|
||||||
* Since: GSEAL-branch
|
|
||||||
**/
|
|
||||||
GtkWidget*
|
|
||||||
gtk_color_selection_dialog_get_help_button (GtkColorSelectionDialog *colorsel)
|
|
||||||
{
|
|
||||||
return colorsel->help_button;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_color_selection_dialog_buildable_interface_init (GtkBuildableIface *iface)
|
gtk_color_selection_dialog_buildable_interface_init (GtkBuildableIface *iface)
|
||||||
{
|
{
|
||||||
|
@ -75,9 +75,6 @@ struct _GtkColorSelectionDialogClass
|
|||||||
GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
|
GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
|
||||||
GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
|
GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
|
||||||
GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel);
|
GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel);
|
||||||
GtkWidget* gtk_color_selection_dialog_get_ok_button (GtkColorSelectionDialog *colorsel);
|
|
||||||
GtkWidget* gtk_color_selection_dialog_get_cancel_button (GtkColorSelectionDialog *colorsel);
|
|
||||||
GtkWidget* gtk_color_selection_dialog_get_help_button (GtkColorSelectionDialog *colorsel);
|
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Loading…
Reference in New Issue
Block a user