/* Callbacks */
static void
-_dialog_run (GtkDialog *dialog __UNUSED__,
+_dialog_run (GtkDialog *dialog UNUSED,
gint response,
X264_Gui_Config *gconfig,
X264_Gtk *x264_gtk)
/* x264 config management */
static void
-_default_load (GtkButton *button __UNUSED__, gpointer user_data)
+_default_load (GtkButton *button UNUSED, gpointer user_data)
{
gchar buf[64];
X264_Gui_Config *config;
}
static gboolean
-_delete_window_cb (GtkWidget *widget __UNUSED__,
- GdkEvent *event __UNUSED__,
+_delete_window_cb (GtkWidget *widget UNUSED,
+ GdkEvent *event UNUSED,
gpointer user_data)
{
gtk_main_quit ();
}
static void
-_configure_window_cb (GtkButton *button __UNUSED__,
+_configure_window_cb (GtkButton *button UNUSED,
gpointer user_data)
{
GtkWidget *window;
}
static gboolean
-_fill_status_window (GIOChannel *io __UNUSED__,
- GIOCondition condition __UNUSED__,
+_fill_status_window (GIOChannel *io UNUSED,
+ GIOCondition condition UNUSED,
gpointer user_data)
{
gchar str[128];
#define X264_GTK_ENCODE_PRIVATE_H
-#define __UNUSED__ __attribute__((unused))
+#include <common/osdep.h>
#include "x264_gtk_demuxers.h"
static gboolean
_delete_window_cb (GtkWidget *widget,
- GdkEvent *event __UNUSED__,
+ GdkEvent *event UNUSED,
gpointer user_data)
{
gtk_widget_destroy (widget);
#define X264_GTK_PRIVATE_H
-#define __UNUSED__ __attribute__((unused))
+#include <common/osdep.h>
typedef struct Bitrate_ Bitrate;