~ubuntu-branches/ubuntu/hardy/epiphany-extensions/hardy-updates

« back to all changes in this revision

Viewing changes to extensions/push-scroller/ephy-push-scroller.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-02-11 12:07:10 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20080211120710-mene00j2jh4ddwnz
Tags: 2.20.1svn20080211-0ubuntu1
* New SVN snapshot:
  - work with the hardy epiphany-browser version (lp: #178117)
* debian/control.in:
  - build using xulrunner
  - updated epiphany-browser requirement
* debian/patches/ephy-extensions.xul.1.9.patch:
  - patch from Alexander Sack to build using xulrunner1.9
* debian/patches/delicious.diff:
  - dropped, the change is in the svn version
* debian/rules:
  - build using libxul
  - updated installation directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  along with this program; if not, write to the Free Software
19
19
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
20
 *
21
 
 *  $Id: ephy-push-scroller.c 1376 2006-09-13 19:01:42Z chpe $
 
21
 *  $Id: ephy-push-scroller.c 1631 2007-11-04 00:33:41Z cyrilbois $
22
22
 */
23
23
 
24
24
/* this file is based on work of Daniel Erat for galeon 1 */
252
252
 
253
253
        /* disconnect the signals before ungrabbing! */
254
254
        g_signal_handlers_disconnect_matched (priv->window,
255
 
                                              G_SIGNAL_MATCH_DATA, 0, 0, 
 
255
                                              G_SIGNAL_MATCH_DATA, 0, 0,
256
256
                                              NULL, NULL, scroller);
257
257
        g_signal_handlers_disconnect_matched (gtk_bin_get_child (GTK_BIN (priv->window)),
258
 
                                              G_SIGNAL_MATCH_DATA, 0, 0, 
 
258
                                              G_SIGNAL_MATCH_DATA, 0, 0,
259
259
                                              NULL, NULL, scroller);
260
260
 
261
261
        /* ungrab the pointer if it's grabbed */
281
281
ephy_push_scroller_new (EphyWindow *window)
282
282
{
283
283
        return EPHY_PUSH_SCROLLER (g_object_new (EPHY_TYPE_PUSH_SCROLLER,
284
 
                                                 "window", window,
 
284
                                                 "window", window,
285
285
                                                 NULL));
286
286
}
287
287
 
288
288
/* class implementation */
289
289
 
290
 
static void 
 
290
static void
291
291
ephy_push_scroller_init (EphyPushScroller *scroller)
292
292
{
293
293
        EphyPushScrollerPrivate *priv;
354
354
                                      "window",
355
355
                                      EPHY_TYPE_WINDOW,
356
356
                                      G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
357
 
        
358
357
 
359
358
        g_type_class_add_private (klass, sizeof (EphyPushScrollerPrivate));
360
359
}