diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-03-03 17:40:55 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-03-03 17:40:55 +0000 |
| commit | cf8018bc621545ecf79a90efd81bdb7655e3635b (patch) | |
| tree | 16e4b34877016756ab95345f94c943ad19135fb9 /src/widgets | |
| parent | Fix for 390458 : Convert Export Bitmap to a dockable dialog (diff) | |
| download | inkscape-cf8018bc621545ecf79a90efd81bdb7655e3635b.tar.gz inkscape-cf8018bc621545ecf79a90efd81bdb7655e3635b.zip | |
Remove some deprecated GDK symbols
(bzr r11043)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/sp-color-slider.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/sp-color-slider.cpp b/src/widgets/sp-color-slider.cpp index 8d07e153c..5ec6d57df 100644 --- a/src/widgets/sp-color-slider.cpp +++ b/src/widgets/sp-color-slider.cpp @@ -195,8 +195,8 @@ sp_color_slider_realize (GtkWidget *widget) attributes.width = allocation.width; attributes.height = allocation.height; attributes.wclass = GDK_INPUT_OUTPUT; - attributes.visual = gdk_rgb_get_visual (); - attributes.colormap = gdk_rgb_get_cmap (); + attributes.visual = gdk_screen_get_system_visual(gdk_screen_get_default()); + attributes.colormap = gdk_screen_get_system_colormap(gdk_screen_get_default()); attributes.event_mask = gtk_widget_get_events (widget); attributes.event_mask |= (GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | |
