gtk+ r20624 - trunk/gtk
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20624 - trunk/gtk
- Date: Fri, 20 Jun 2008 11:10:08 +0000 (UTC)
Author: timj
Date: Fri Jun 20 11:10:08 2008
New Revision: 20624
URL: http://svn.gnome.org/viewvc/gtk+?rev=20624&view=rev
Log:
Remove unneeded GtkColorSelectionDialog accessors
Modified:
trunk/gtk/gtk.symbols
trunk/gtk/gtkcolorseldialog.c
trunk/gtk/gtkcolorseldialog.h
Modified: trunk/gtk/gtk.symbols
==============================================================================
--- trunk/gtk/gtk.symbols (original)
+++ trunk/gtk/gtk.symbols Fri Jun 20 11:10:08 2008
@@ -830,10 +830,7 @@
#if IN_FILE(__GTK_COLOR_SELECTION_DIALOG_C__)
gtk_color_selection_dialog_get_type G_GNUC_CONST
gtk_color_selection_dialog_new
-gtk_color_selection_dialog_get_cancel_button
gtk_color_selection_dialog_get_color_selection
-gtk_color_selection_dialog_get_help_button
-gtk_color_selection_dialog_get_ok_button
#endif
#endif
Modified: trunk/gtk/gtkcolorseldialog.c
==============================================================================
--- trunk/gtk/gtkcolorseldialog.c (original)
+++ trunk/gtk/gtkcolorseldialog.c Fri Jun 20 11:10:08 2008
@@ -198,49 +198,9 @@
GtkWidget*
gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel)
{
- return colorsel->colorsel;
-}
+ g_return_val_if_fail (GTK_IS_COLOR_SELECTION (colorsel), NULL);
-/**
- * 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;
+ return colorsel->colorsel;
}
static void
Modified: trunk/gtk/gtkcolorseldialog.h
==============================================================================
--- trunk/gtk/gtkcolorseldialog.h (original)
+++ trunk/gtk/gtkcolorseldialog.h Fri Jun 20 11:10:08 2008
@@ -75,9 +75,6 @@
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_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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]