• Tony's avatar
    Replace obsolete Gtk symbols · 97fc1e10
    Tony authored
    This update replaces depreciated Gtk1.x symbols with Gtk2.x symbols in
    preparation for adding Gtk3 support. These edits aim to be fully
    compatible with Gtk2.x, allowing backward compatibility.
    
    The following symbols have been replaced in this commit:
    
    Gtk symbols that have been moved to the Gdk library:
     - GtkType -> Gtype
     - GTK_CHECK_CAST -> G_TYPE_CHECK_INSTANCE_CAST
     - GTK_CHECK_TYPE -> G_TYPE_CHECK_INSTANCE_TYPE
     - gtk_signal_connect -> g_signal_connect
     - GTK_SIGNAL_FUNC -> G_CALLBACK
     - gtk_type_class -> g_type_class_peek
     - gtk_type_new-> g_object_new
     - GtkTypeInfo -> GtypeInfo (Not required for
       g_type_register_static_simple)
     - gtk_type_unique -> g_type_register_static_simple
     - gdk_draw_image_rgb -> replaced by gdk_cairo_source_pixbuf
       NB: This requires porting to use cairo contexts and GdkPixbufs.
    
    The following gtk symbols are changed for their modern equivalent:
     - GTK_WIDGET_REALIZED -> gtk_widget_get_realized
     - GTK_OBJECT_FLAGS -> gtk_widget_set_realized
    
    Symbols without replacement:
     - gtk_range_set_update_policy -> No replacement; as default policy is
       set to continuous we can delete this line.
    97fc1e10
Name
Last commit
Last update
..
androidcamera Loading commit data...
bioinspired Loading commit data...
calib3d Loading commit data...
contrib Loading commit data...
core Loading commit data...
cudev Loading commit data...
features2d Loading commit data...
flann Loading commit data...
gpu Loading commit data...
gpuarithm Loading commit data...
gpubgsegm Loading commit data...
gpucodec Loading commit data...
gpufeatures2d Loading commit data...
gpufilters Loading commit data...
gpuimgproc Loading commit data...
gpulegacy Loading commit data...
gpuoptflow Loading commit data...
gpustereo Loading commit data...
gpuwarping Loading commit data...
highgui Loading commit data...
imgproc Loading commit data...
java Loading commit data...
legacy Loading commit data...
ml Loading commit data...
nonfree Loading commit data...
objdetect Loading commit data...
ocl Loading commit data...
optim Loading commit data...
photo Loading commit data...
python Loading commit data...
softcascade Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videostab Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...
refman.rst.in Loading commit data...