~ubuntu-branches/ubuntu/precise/gwibber/precise

« back to all changes in this revision

Viewing changes to client/replies-item.c

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-11-21 09:29:54 UTC
  • mfrom: (1.1.65)
  • Revision ID: package-import@ubuntu.com-20111121092954-v13j1zaju7dvqer3
Tags: 3.3.1-0ubuntu1
* New upstream release
  - Added a "debug" settings key to allow debug logging without running from 
    a terminal.  
  - Ensure _profile is passed a dict, if not it failed
  - Clean up indicator handling, setup the counts up front to ensure the 
    ordering is consistent.
  - Only trim the padding off the entry if we are running in the client.  
    This fixes the gray bar that was displayed below the poster entry 
    in gwibber-poster.
  - Translation fixes for liked and shared strings (LP: #833807)
  - Added LINGUAS file to ensure the po files make it in the 
    DIST (LP: #866038)
  - specify --shared-library when compiling the typelib, this fixes 
    GI (LP: #893125)
* lp_861903.patch, lp_882633.patch, and lp_884831.patch dropped, fixed 
  upstream
* debian/control
  - build depend on valac-0.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* replies-item.c generated by valac 0.12.1, the Vala compiler
 
1
/* replies-item.c generated by valac 0.14.0, the Vala compiler
2
2
 * generated from replies-item.vala, do not modify */
3
3
 
4
4
/*
121
121
RepliesItem* replies_item_construct (GType object_type, GeeHashMap* streams) {
122
122
        RepliesItem * self = NULL;
123
123
        const gchar* _tmp0_ = NULL;
 
124
        GeeHashMap* _tmp1_;
 
125
#line 21 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
124
126
        g_return_val_if_fail (streams != NULL, NULL);
 
127
#line 23 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
125
128
        _tmp0_ = _ ("Replies");
126
 
        self = (RepliesItem*) g_object_new (object_type, "stream", "replies", "icon-name", "mail_reply", "tooltip", _tmp0_, "streams", streams, NULL);
 
129
#line 23 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
 
130
        _tmp1_ = streams;
 
131
#line 23 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
 
132
        self = (RepliesItem*) g_object_new (object_type, "stream", "replies", "icon-name", "mail_reply", "tooltip", _tmp0_, "streams", _tmp1_, NULL);
 
133
#line 21 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
127
134
        return self;
 
135
#line 136 "replies-item.c"
128
136
}
129
137
 
130
138
 
131
139
RepliesItem* replies_item_new (GeeHashMap* streams) {
 
140
#line 21 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
132
141
        return replies_item_construct (TYPE_REPLIES_ITEM, streams);
 
142
#line 143 "replies-item.c"
133
143
}
134
144
 
135
145
 
136
146
static GtkWidget* replies_item_real_get_toolbar (TabBarItem* base) {
137
147
        RepliesItem * self;
138
148
        GtkWidget* result = NULL;
 
149
#line 30 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
139
150
        self = (RepliesItem*) base;
 
151
#line 32 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
140
152
        result = NULL;
 
153
#line 32 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
141
154
        return result;
 
155
#line 156 "replies-item.c"
142
156
}
143
157
 
144
158
 
145
159
static gpointer _g_object_ref0 (gpointer self) {
 
160
#line 37 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
146
161
        return self ? g_object_ref (self) : NULL;
 
162
#line 163 "replies-item.c"
147
163
}
148
164
 
149
165
 
150
166
static GtkWidget* replies_item_real_get_view (TabBarItem* base) {
151
167
        RepliesItem * self;
152
168
        GtkWidget* result = NULL;
153
 
        GtkWidget* _tmp0_;
 
169
        GwibberGtkStreamView* _tmp0_;
 
170
        GtkWidget* _tmp1_;
 
171
#line 35 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
154
172
        self = (RepliesItem*) base;
155
 
        _tmp0_ = _g_object_ref0 ((GtkWidget*) ((TabBarStreamItem*) self)->view);
156
 
        result = _tmp0_;
 
173
#line 37 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
 
174
        _tmp0_ = ((TabBarStreamItem*) self)->view;
 
175
#line 37 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
 
176
        _tmp1_ = _g_object_ref0 ((GtkWidget*) _tmp0_);
 
177
#line 37 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
 
178
        result = _tmp1_;
 
179
#line 37 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
157
180
        return result;
 
181
#line 182 "replies-item.c"
158
182
}
159
183
 
160
184
 
162
186
        GObject * obj;
163
187
        GObjectClass * parent_class;
164
188
        RepliesItem * self;
 
189
#line 26 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
165
190
        parent_class = G_OBJECT_CLASS (replies_item_parent_class);
 
191
#line 26 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
166
192
        obj = parent_class->constructor (type, n_construct_properties, construct_properties);
 
193
#line 26 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
167
194
        self = REPLIES_ITEM (obj);
 
195
#line 26 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
168
196
        return obj;
 
197
#line 198 "replies-item.c"
169
198
}
170
199
 
171
200
 
172
201
static void replies_item_class_init (RepliesItemClass * klass) {
 
202
#line 19 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
173
203
        replies_item_parent_class = g_type_class_peek_parent (klass);
 
204
#line 19 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
174
205
        TAB_BAR_ITEM_CLASS (klass)->get_toolbar = replies_item_real_get_toolbar;
 
206
#line 19 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
175
207
        TAB_BAR_ITEM_CLASS (klass)->get_view = replies_item_real_get_view;
 
208
#line 19 "/home/ken/src/gwibber/trunk/client/replies-item.vala"
176
209
        G_OBJECT_CLASS (klass)->constructor = replies_item_constructor;
 
210
#line 211 "replies-item.c"
177
211
}
178
212
 
179
213