Want more features on Pastebin? Sign Up, it's FREE!
Guest

gnome-paint gtk2.20 patch

By: a guest on Apr 9th, 2010  |  syntax: C++  |  size: 1.25 KB  |  views: 148  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- gnome-paint-0.2.1/src/cv_resize.c~  2010-04-09 14:02:07.648006473 +0200
  2. +++ gnome-paint-0.2.1/src/cv_resize.c   2010-04-09 14:04:00.363810805 +0200
  3. @@ -195,10 +195,10 @@
  4.                                      gpointer       user_data )
  5.  {
  6.         gdk_draw_line ( widget->window,
  7. -                    widget->style->fg_gc[GTK_WIDGET_STATE (widget)],
  8. +                    widget->style->fg_gc[gtk_widget_get_state (widget)],
  9.                      0,0,0,widget->allocation.height);
  10.         gdk_draw_line ( widget->window,
  11. -                    widget->style->fg_gc[GTK_WIDGET_STATE (widget)],
  12. +                    widget->style->fg_gc[gtk_widget_get_state (widget)],
  13.                      0,0,widget->allocation.width,0);
  14.         return TRUE;
  15.  }
  16. --- gnome-paint-0.2.1/src/cv_drawing.c~ 2010-04-09 14:02:15.933838882 +0200
  17. +++ gnome-paint-0.2.1/src/cv_drawing.c  2010-04-09 14:04:23.940474888 +0200
  18. @@ -270,7 +270,7 @@
  19.  {
  20.  
  21.      gdk_draw_drawable (        widget->window,
  22. -                       widget->style->fg_gc[GTK_WIDGET_STATE(widget)],
  23. +                       widget->style->fg_gc[gtk_widget_get_state (widget)],
  24.                         cv.pixmap,
  25.                         event->area.x, event->area.y,
  26.                         event->area.x, event->area.y,
clone this paste RAW Paste Data