diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-29 19:36:46 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-29 19:36:46 +0000 |
| commit | 1ab058e143e91cf7c3202cd65c940128b0ac00ee (patch) | |
| tree | a4e94cbb95377bbd64a979e34ed4fbf08d9823e2 /src | |
| parent | Rm a few instances of deprecated GtkNotebookPage. gtkmm-2.4 still uses it (diff) | |
| download | inkscape-1ab058e143e91cf7c3202cd65c940128b0ac00ee.tar.gz inkscape-1ab058e143e91cf7c3202cd65c940128b0ac00ee.zip | |
Corrected gdl pointer type error
(bzr r10350.1.11)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libgdl/gdl-dock-item-grip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgdl/gdl-dock-item-grip.c b/src/libgdl/gdl-dock-item-grip.c index 089eeb685..fc8ff11da 100644 --- a/src/libgdl/gdl-dock-item-grip.c +++ b/src/libgdl/gdl-dock-item-grip.c @@ -127,12 +127,11 @@ gdl_dock_item_grip_expose (GtkWidget *widget, GdlDockItemGrip *grip; GdkRectangle title_area; GdkRectangle expose_area; - GtkStyle *bg_style; + GdkGC *bg_style; gint layout_width; gint layout_height; gint text_x; gint text_y; - gboolean item_or_child_has_focus; grip = GDL_DOCK_ITEM_GRIP (widget); gdl_dock_item_grip_get_title_area (grip, &title_area); @@ -143,6 +142,7 @@ gdl_dock_item_grip_expose (GtkWidget *widget, gtk_widget_get_style (widget)->dark_gc[widget->state] : gtk_widget_get_style (widget)->mid_gc[widget->state]); + gdk_draw_rectangle (GDK_DRAWABLE (widget->window), bg_style, TRUE, 1, 0, widget->allocation.width - 1, widget->allocation.height); |
