Changeset 441 for plgtkimageview

Show
Ignore:
Timestamp:
12/22/07 11:57:27 (5 years ago)
Author:
jeffrey
Message:

include everything in gtkimageviewperl.h so only that is needed in each .xs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plgtkimageview/AnimView.xs

    r438 r441  
    1 /* we depend directly on the Gtk2 module; its installed header 
    2  * is gtk2perl.h.  this will get gtk/gtk.h, all the gtk2perl  
    3  * cast macros, and gperl.h. */ 
    4 #include <gtk2perl.h> 
    5  
    6 /* now we need the actual library we're binding. */ 
    7 #include <gtkimageview/gtkanimview.h> 
    8  
    9 #include "gtkimageviewperl-gtypes.h" 
    10 #include "gtkimageviewperl-autogen.h" 
     1#include "gtkimageviewperl.h" 
    112 
    123 
  • plgtkimageview/IImageTool.xs

    r437 r441  
    99/*#include <gtkimageview/gdkpixbufdrawcache.h>*/ 
    1010 
    11 #include "gtkimageviewperl-gtypes.h" 
    12 #include "gtkimageviewperl-autogen.h" 
     11#include "gtkimageviewperl.h" 
    1312 
    1413 
  • plgtkimageview/ImageNav.xs

    r439 r441  
    1 /* we depend directly on the Gtk2 module; its installed header 
    2  * is gtk2perl.h.  this will get gtk/gtk.h, all the gtk2perl  
    3  * cast macros, and gperl.h. */ 
    4 #include <gtk2perl.h> 
    5  
    6 /* now we need the actual library we're binding. */ 
    7 #include <gtkimageview/gtkimagenav.h> 
    8  
    9 #include "gtkimageviewperl-gtypes.h" 
    10 #include "gtkimageviewperl-autogen.h" 
     1#include "gtkimageviewperl.h" 
    112 
    123 
  • plgtkimageview/ImageScrollWin.xs

    r439 r441  
    1 /* we depend directly on the Gtk2 module; its installed header 
    2  * is gtk2perl.h.  this will get gtk/gtk.h, all the gtk2perl  
    3  * cast macros, and gperl.h. */ 
    4 #include <gtk2perl.h> 
    5  
    6 /* now we need the actual library we're binding. */ 
    7 #include <gtkimageview/gtkimagescrollwin.h> 
    8  
    9 #include "gtkimageviewperl-gtypes.h" 
    10 #include "gtkimageviewperl-autogen.h" 
     1#include "gtkimageviewperl.h" 
    112 
    123 
  • plgtkimageview/ImageToolDragger.xs

    r439 r441  
    1 /* we depend directly on the Gtk2 module; its installed header 
    2  * is gtk2perl.h.  this will get gtk/gtk.h, all the gtk2perl  
    3  * cast macros, and gperl.h. */ 
    4 #include <gtk2perl.h> 
    5  
    6 /* now we need the actual library we're binding. */ 
    7 #include <gtkimageview/gtkimagetooldragger.h> 
    8  
    9 #include "gtkimageviewperl-gtypes.h" 
    10 #include "gtkimageviewperl-autogen.h" 
     1#include "gtkimageviewperl.h" 
    112 
    123 
  • plgtkimageview/ImageToolPainter.xs

    r439 r441  
    1 /* we depend directly on the Gtk2 module; its installed header 
    2  * is gtk2perl.h.  this will get gtk/gtk.h, all the gtk2perl  
    3  * cast macros, and gperl.h. */ 
    4 #include <gtk2perl.h> 
    5  
    6 /* now we need the actual library we're binding. */ 
    7 #include <gtkimageview/gtkimagetoolpainter.h> 
    8  
    9 #include "gtkimageviewperl-gtypes.h" 
    10 #include "gtkimageviewperl-autogen.h" 
     1#include "gtkimageviewperl.h" 
    112 
    123 
  • plgtkimageview/ImageToolSelector.xs

    r440 r441  
    1 /* we depend directly on the Gtk2 module; its installed header 
    2  * is gtk2perl.h.  this will get gtk/gtk.h, all the gtk2perl  
    3  * cast macros, and gperl.h. */ 
    4 #include <gtk2perl.h> 
    5  
    6 /* now we need the actual library we're binding. */ 
    7 #include <gtkimageview/gtkimagetoolselector.h> 
    8  
    9 #include "gtkimageviewperl-gtypes.h" 
    10 #include "gtkimageviewperl-autogen.h" 
     1#include "gtkimageviewperl.h" 
    112 
    123 
  • plgtkimageview/ImageView.xs

    r438 r441  
    77#include <gtkimageview/gtkimageview.h> 
    88 
    9 #include "gtkimageviewperl-gtypes.h" 
    10 #include "gtkimageviewperl-autogen.h" 
     9#include "gtkimageviewperl.h" 
    1110 
    1211 
  • plgtkimageview/gtkimageviewperl.h

    r432 r441  
    2323#define _GTKIMAGEVIEWPERL_H_ 
    2424 
     25/* Include all of gtkimageview's headers for internal consistency */ 
     26#include <gtkimageview/gtkimageview.h> 
     27#include <gtkimageview/gtkimagenav.h> 
     28#include <gtkimageview/gtkimagescrollwin.h> 
     29#include <gtkimageview/gtkimagetooldragger.h> 
     30#include <gtkimageview/gtkimagetoolpainter.h> 
     31#include <gtkimageview/gtkimagetoolselector.h> 
     32#include <gtkimageview/gtkanimview.h> 
     33 
     34/* Get important stuff from gtk2-perl */ 
    2535#include <gtk2perl.h> 
    26 #include <gtkimageview.h> 
     36 
     37/* Binding definitions -- order is important */ 
    2738#include "gtkimageviewperl-gtypes.h" 
    2839#include "gtkimageviewperl-autogen.h" 
    2940 
    30 #define SvGtkImageTransp(sv)   (gperl_convert_enum (GTKIMAGEVIEWPERL_TYPE_IMAGE_TRANSP, (sv)) 
    31 #define newSVGtkImageTransp(e)   (gperl_convert_back_enum (GTKIMAGEVIEWPERL_TYPE_IMAGE_TRANSP, (e)) 
    32  
    3341#endif /* _GTKIMAGEVIEWPERL_H_ */ 
  • plgtkimageview/t/animview.t

    r440 r441  
    2323isa_ok($animview, 'Gtk2::AnimView'); 
    2424 
    25 SKIP: { 
    26  skip("Dunno", 1); 
    27  ok(defined $animview->get_is_playing, 'get_is_playing() works'); 
    28 
     25ok(defined $animview->get_is_playing, 'get_is_playing() works'); 
     26