Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
scim
sle-11-gtk-widget-get-visible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sle-11-gtk-widget-get-visible.patch of Package scim
diff -urN scim-1.4.13.orig/extras/panel/scim_panel_gtk.cpp scim-1.4.13/extras/panel/scim_panel_gtk.cpp --- scim-1.4.13.orig/extras/panel/scim_panel_gtk.cpp 2012-06-02 19:45:42.058517542 +0800 +++ scim-1.4.13/extras/panel/scim_panel_gtk.cpp 2012-06-02 20:34:00.178286059 +0800 @@ -3215,7 +3215,7 @@ #if GTK_CHECK_VERSION(2, 18, 0) if (_panel_is_on && !gtk_widget_get_visible (_input_window)) #else - if (_panel_is_on && !gtk_widget_get_visible (_input_window)) + if (_panel_is_on && !GTK_WIDGET_VISIBLE (_input_window)) #endif gtk_widget_show (_input_window); diff -urN scim-1.4.13.orig/utils/scimstringview.c scim-1.4.13/utils/scimstringview.c --- scim-1.4.13.orig/utils/scimstringview.c 2012-06-02 19:45:42.049517654 +0800 +++ scim-1.4.13/utils/scimstringview.c 2012-06-02 20:47:59.713790421 +0800 @@ -561,7 +561,7 @@ #else widget->style = gtk_style_attach (widget->style, gtk_widget_get_window (widget)); -#if GTK_CHECK_VERSION(2, 14, 0) +#if GTK_CHECK_VERSION(2, 18, 0) gdk_window_set_background (gtk_widget_get_window (widget), &widget->style->base[gtk_widget_get_state (widget)]); gdk_window_set_background (string_view->text_area, &widget->style->base[gtk_widget_get_state (widget)]); #else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor