Changes between Version 4 and Version 5 of GRefPtr


Ignore:
Timestamp:
Jan 20, 2014 5:53:21 AM (9 years ago)
Author:
Adrian Perez de Castro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GRefPtr

    v4 v5  
    4949{{{
    5050#!cpp
    51 void doWithWidget(GtkWidget* widget) {
    52     GRefPtr<GtkWidget> widgetLocal1 = widget;
    53     GRefPtr<GtkWidget> widgetLocal2 = widgetLocal1;
     51void doWithData(GByteArray* data) {
     52    GRefPtr<GByteArray> dataLocal1 = data;
     53    GRefPtr<GByteArray> dataLocal2 = dataLocal1;
    5454}
    5555}}}