~ubuntu-branches/ubuntu/trusty/dvd95/trusty

« back to all changes in this revision

Viewing changes to src/callbacks.c

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-11-10 08:33:32 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071110083332-pry0uz9nx4u1s1xz
Tags: 1.3p0-0ubuntu1
* New upstream release.
* debian/control:
  - Move homepage to Homepage field.
  - Comply with DebianMaintainerField.
  - Build-Depend on libmpeg-2-4-dev.
* debian/rules: Check if Makefile exists before cleaning, rather than
  ignoring all errors.
* Fix up .desktop:
  - debian/rules: Use dpatch.
  - debian/control: Build-Depend on dpatch.
  - debian/patches/01_fix_desktop_file.dpatch: Convince dvd95.desktop to
    comply with .desktop file standards.
* Add debian/watch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#include <ctype.h>
6
6
#include <gnome.h>
7
7
 
 
8
 
8
9
#define CTEST( x )              /****/
9
10
 
10
11
#include "callbacks.h"
24
25
#include "avancement.h"
25
26
#include "globals.h"
26
27
#include "main.h"
 
28
#include "mpeg2dec.h"
27
29
 
28
30
typedef struct
29
31
{
552
554
        return TRUE;
553
555
}
554
556
 
 
557
 
 
558
void
 
559
on_visumpeg_toggled                    (GtkToggleButton *togglebutton,
 
560
                                        gpointer         user_data)
 
561
{
 
562
        if( gtk_toggle_button_get_active( togglebutton ) == TRUE ) {
 
563
// fprintf(stderr,"MPEG2 DECODER: Enabled\n");
 
564
                Mpeg2SetState( 1 );
 
565
        }
 
566
        else {
 
567
// fprintf(stderr,"MPEG2 DECODER: Disabled\n");
 
568
                Mpeg2SetState( 0 );
 
569
        }
 
570
}
 
571