~ubuntu-branches/ubuntu/hardy/gxine/hardy

« back to all changes in this revision

Viewing changes to src/utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-03-21 11:24:59 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080321112459-igb0jy01nytpdrzt
Tags: 0.5.901-1ubuntu1
* merge debian changes for hardy PPA. Remaining changes:
  - debian/control: added Xb-Npp-xxx tags accordingly to "firefox distro
    add-on suport" spec,
    (https://blueprints.launchpad.net/ubuntu/+spec/firefox-distro-addon-support)
* Feature Freeze exception granted in LP: #204563
* New upstream release fixes playing DVDs. LP: #128864
* mime.default: add "x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;"
  to get it listed as a player for dvd and video cds in nautilus. Thanks to
  Sebastien Bacher for the hint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2001-2005 the xine-project
 
2
 * Copyright (C) 2001-2007 the xine-project
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU General Public License as
16
16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
17
17
 * USA
18
18
 *
19
 
 * $Id: utils.h,v 1.43 2006/04/04 22:08:52 dsalt Exp $
20
 
 *
21
19
 * needful things
22
20
 */
23
21
 
24
 
#ifndef HAVE_UTILS_H
25
 
#define HAVE_UTILS_H
 
22
#ifndef GXINE_UTILS_H
 
23
#define GXINE_UTILS_H
26
24
 
27
25
#include <gtk/gtk.h>
28
26
#include <gdk/gdk.h>
85
83
void get_mrl_from_filesystem (GtkWindow *, GtkEntry *);
86
84
 
87
85
void window_show (GtkWidget *widget, GtkWidget *parent); /* NULL => app */
 
86
void window_present (GtkWidget *widget, GtkWidget *parent); /* ditto */
88
87
 
89
88
/* attach to delete-event signal -> hide widget & set *visible = FALSE */
90
89
void hide_on_delete (GtkWidget *widget, gboolean *visible);
106
105
 
107
106
const char *get_copyright_notice (void);
108
107
 
 
108
int gxine_init_count;
 
109
static inline void gxine_init_add (GSourceFunc func, gpointer data)
 
110
{
 
111
  ++gxine_init_count;
 
112
  gtk_init_add (func, data);
 
113
}
 
114
static inline void gxine_init_done (void)
 
115
{
 
116
  --gxine_init_count;
 
117
}
 
118
 
 
119
void config_update_default (const char *key, int value);
 
120
 
109
121
#endif