freebsd-ports/multimedia/kino/files/patch-as
Pierre Beyssac 97eb0f8271 - Update to 0.7.1
- USE_GETTEXT=yes, USE_GNOME+=libxml2 as suggested by krion
2004-04-13 17:13:54 +00:00

59 lines
1.3 KiB
Text

--- src/preferences_dialog.cc.orig Tue Mar 30 06:35:13 2004
+++ src/preferences_dialog.cc Sun Apr 11 02:45:04 2004
@@ -32,8 +32,10 @@
#include "support.h"
#include "commands.h"
#include "message.h"
+#if 0
#include <libavc1394/avc1394.h>
#include <libavc1394/rom1394.h>
+#endif
/* Declare callbacks for the jogshuttle handling */
static void
@@ -65,9 +67,13 @@
GtkWidget* glade_menuitem;
GtkWidget* widget;
int currentNode, itemCount = 0, currentItem = 0;
+#if 0
rom1394_directory rom1394_dir;
+#endif
glade_menu = gtk_menu_new ();
+#if 0
static raw1394handle_t handle;
+#endif
media_ctrl_key *mkeys;
@@ -321,6 +327,7 @@
widget = lookup_widget( dialog, "optionmenu_avc_phyid" );
+#if 0
#ifdef LIBRAW1394_OLD
if ( ( handle = raw1394_get_handle() ) )
@@ -383,6 +390,7 @@
handle = NULL;
}
}
+#endif
gtk_option_menu_set_menu ( GTK_OPTION_MENU ( widget ), glade_menu );
gtk_option_menu_set_history( GTK_OPTION_MENU( widget ), currentItem );
@@ -421,6 +429,7 @@
on_avc_phyid_activate( GtkMenuItem * menu_item, gpointer user_data )
{
int currentNode = ( int ) user_data;
+#if 0
static raw1394handle_t handle;
#ifdef LIBRAW1394_OLD
@@ -439,6 +448,7 @@
}
raw1394_destroy_handle( handle );
handle = NULL;
+#endif
}
void