mirror of https://github.com/GNOME/gimp.git
app/display/gimpcanvas.c app/widgets/gimpcoloreditor.c
2008-03-30 Michael Natterer <mitch@gimp.org> * app/display/gimpcanvas.c * app/widgets/gimpcoloreditor.c * app/widgets/gimpcolorframe.c * app/widgets/gimpcursorview.c * app/widgets/gimpcurveview.c * app/widgets/gimpdataeditor.c * app/widgets/gimpdock.c * app/widgets/gimpdockable.c * app/widgets/gimpdockbook.c * app/widgets/gimpdockseparator.c * app/widgets/gimpeditor.c * app/widgets/gimplayertreeview.c * app/widgets/gimpmenudock.c * app/widgets/gimpsamplepointeditor.c * app/widgets/gimptoolbox.c: chain up unconditionally in GtkWidget::style_set() because there is has a default implementation. svn path=/trunk/; revision=25307
This commit is contained in:
parent
e21528d4f3
commit
8088b64c72
20
ChangeLog
20
ChangeLog
|
@ -1,3 +1,23 @@
|
|||
2008-03-30 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpcanvas.c
|
||||
* app/widgets/gimpcoloreditor.c
|
||||
* app/widgets/gimpcolorframe.c
|
||||
* app/widgets/gimpcursorview.c
|
||||
* app/widgets/gimpcurveview.c
|
||||
* app/widgets/gimpdataeditor.c
|
||||
* app/widgets/gimpdock.c
|
||||
* app/widgets/gimpdockable.c
|
||||
* app/widgets/gimpdockbook.c
|
||||
* app/widgets/gimpdockseparator.c
|
||||
* app/widgets/gimpeditor.c
|
||||
* app/widgets/gimplayertreeview.c
|
||||
* app/widgets/gimpmenudock.c
|
||||
* app/widgets/gimpsamplepointeditor.c
|
||||
* app/widgets/gimptoolbox.c: chain up unconditionally in
|
||||
GtkWidget::style_set() because there is has a default
|
||||
implementation.
|
||||
|
||||
2008-03-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimpmenudock.c (gimp_menu_dock_auto_clicked): when
|
||||
|
|
|
@ -274,7 +274,6 @@ gimp_canvas_style_set (GtkWidget *widget,
|
|||
{
|
||||
GimpCanvas *canvas = GIMP_CANVAS (widget);
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
if (canvas->layout)
|
||||
|
|
|
@ -476,7 +476,6 @@ gimp_color_editor_style_set (GtkWidget *widget,
|
|||
{
|
||||
GimpColorEditor *editor = GIMP_COLOR_EDITOR (widget);
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
if (editor->hbox)
|
||||
|
|
|
@ -254,7 +254,6 @@ gimp_color_frame_style_set (GtkWidget *widget,
|
|||
{
|
||||
GimpColorFrame *frame = GIMP_COLOR_FRAME (widget);
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
if (frame->number_layout)
|
||||
|
|
|
@ -317,7 +317,6 @@ gimp_cursor_view_style_set (GtkWidget *widget,
|
|||
GimpCursorView *view = GIMP_CURSOR_VIEW (widget);
|
||||
gint content_spacing;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (GTK_WIDGET (view),
|
||||
|
|
|
@ -226,7 +226,6 @@ gimp_curve_view_style_set (GtkWidget *widget,
|
|||
{
|
||||
GimpCurveView *view = GIMP_CURVE_VIEW (widget);
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
if (view->xpos_layout)
|
||||
|
|
|
@ -313,7 +313,6 @@ gimp_data_editor_style_set (GtkWidget *widget,
|
|||
GimpDataEditor *editor = GIMP_DATA_EDITOR (widget);
|
||||
gint minimal_height;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (widget,
|
||||
|
|
|
@ -373,7 +373,6 @@ gimp_dock_style_set (GtkWidget *widget,
|
|||
gchar *font_str;
|
||||
gchar *rc_string;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (widget, "default-height", &default_height, NULL);
|
||||
|
|
|
@ -430,7 +430,6 @@ gimp_dockable_style_set (GtkWidget *widget,
|
|||
GimpDockable *dockable = GIMP_DOCKABLE (widget);
|
||||
gint content_border;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (widget,
|
||||
|
|
|
@ -228,7 +228,6 @@ gimp_dockbook_style_set (GtkWidget *widget,
|
|||
GList *list;
|
||||
gint tab_border;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (widget,
|
||||
|
|
|
@ -115,7 +115,6 @@ gimp_dock_separator_style_set (GtkWidget *widget,
|
|||
{
|
||||
gint height;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (widget, "height", &height, NULL);
|
||||
|
|
|
@ -339,7 +339,6 @@ gimp_editor_style_set (GtkWidget *widget,
|
|||
GimpEditor *editor = GIMP_EDITOR (widget);
|
||||
gint content_spacing;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (widget, "content-spacing", &content_spacing, NULL);
|
||||
|
|
|
@ -438,7 +438,6 @@ gimp_layer_tree_view_style_set (GtkWidget *widget,
|
|||
gtk_table_set_row_spacings (GTK_TABLE (layer_view->options_box),
|
||||
content_spacing);
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
}
|
||||
|
||||
|
|
|
@ -216,7 +216,7 @@ static void
|
|||
gimp_menu_dock_style_set (GtkWidget *widget,
|
||||
GtkStyle *prev_style)
|
||||
{
|
||||
GimpMenuDock *menu_dock;
|
||||
GimpMenuDock *menu_dock = GIMP_MENU_DOCK (widget);
|
||||
gint minimal_width;
|
||||
GtkIconSize menu_view_size;
|
||||
GtkSettings *settings;
|
||||
|
@ -226,9 +226,6 @@ gimp_menu_dock_style_set (GtkWidget *widget,
|
|||
gint focus_padding;
|
||||
gint ythickness;
|
||||
|
||||
menu_dock = GIMP_MENU_DOCK (widget);
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (widget,
|
||||
|
|
|
@ -242,7 +242,6 @@ gimp_sample_point_editor_style_set (GtkWidget *widget,
|
|||
GimpSamplePointEditor *editor = GIMP_SAMPLE_POINT_EDITOR (widget);
|
||||
gint content_spacing;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);
|
||||
|
||||
gtk_widget_style_get (widget,
|
||||
|
|
|
@ -436,7 +436,6 @@ gimp_toolbox_style_set (GtkWidget *widget,
|
|||
GtkReliefStyle relief;
|
||||
GList *list;
|
||||
|
||||
if (GTK_WIDGET_CLASS (parent_class)->style_set)
|
||||
GTK_WIDGET_CLASS (parent_class)->style_set (widget, previous_style);
|
||||
|
||||
if (! GIMP_DOCK (widget)->context)
|
||||
|
|
Loading…
Reference in New Issue