r1192@localhost: muntyan | 2005-11-29 21:44:00 -0600

Some G_GNUC_UNUSED and stuff
This commit is contained in:
Yevgen Muntyan 2005-11-30 15:02:07 +00:00
parent a21f923607
commit 781cc1a632
4 changed files with 11 additions and 28 deletions

View File

@ -147,10 +147,6 @@ static gboolean notebook_drag_drop (GtkWidget *widget,
int y,
guint time,
MooEditWindow *window);
static void notebook_drag_leave (GtkWidget *widget,
GdkDragContext *context,
guint time,
MooEditWindow *window);
static gboolean notebook_drag_motion (GtkWidget *widget,
GdkDragContext *context,
int x,
@ -931,8 +927,6 @@ setup_notebook (MooEditWindow *window)
gtk_drag_dest_add_text_targets (GTK_WIDGET (window->priv->notebook));
g_signal_connect (window->priv->notebook, "drag-motion",
G_CALLBACK (notebook_drag_motion), window);
g_signal_connect (window->priv->notebook, "drag-leave",
G_CALLBACK (notebook_drag_leave), window);
g_signal_connect (window->priv->notebook, "drag-drop",
G_CALLBACK (notebook_drag_drop), window);
g_signal_connect (window->priv->notebook, "drag-data-received",
@ -2227,10 +2221,10 @@ moo_edit_window_job_finished (MooEditWindow *window,
static gboolean
notebook_drag_motion (GtkWidget *widget,
GdkDragContext *context,
int x,
int y,
G_GNUC_UNUSED int x,
G_GNUC_UNUSED int y,
guint time,
MooEditWindow *window)
G_GNUC_UNUSED MooEditWindow *window)
{
GdkAtom target;
@ -2247,22 +2241,13 @@ notebook_drag_motion (GtkWidget *widget,
}
static void
notebook_drag_leave (GtkWidget *widget,
GdkDragContext *context,
guint time,
MooEditWindow *window)
{
}
static gboolean
notebook_drag_drop (GtkWidget *widget,
GdkDragContext *context,
int x,
int y,
G_GNUC_UNUSED int x,
G_GNUC_UNUSED int y,
guint time,
MooEditWindow *window)
G_GNUC_UNUSED MooEditWindow *window)
{
GdkAtom target;
@ -2287,8 +2272,8 @@ notebook_drag_drop (GtkWidget *widget,
static void
notebook_drag_data_recv (GtkWidget *widget,
GdkDragContext *context,
int x,
int y,
G_GNUC_UNUSED int x,
G_GNUC_UNUSED int y,
GtkSelectionData *data,
guint info,
guint time,

View File

@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4; coding: utf-8 -*-
*
* mooedit.c
* mooindenter.c
*
* Copyright (C) 2004-2005 by Yevgen Muntyan <muntyan@math.tamu.edu>
*
@ -12,7 +12,6 @@
* See COPYING file that comes with this distribution.
*/
#define MOOINDENTER_COMPILATION
#include "mooedit/mooindenter.h"
#include "mooedit/mooedit.h"
#include "mooutils/moomarshals.h"

View File

@ -29,7 +29,6 @@ G_BEGIN_DECLS
typedef struct _MooIndenter MooIndenter;
typedef struct _MooIndenterPrivate MooIndenterPrivate;
typedef struct _MooIndenterClass MooIndenterClass;
struct _MooIndenter

View File

@ -668,10 +668,10 @@ drop_untitled (MooFileSelector *filesel,
MooEdit *doc,
const char *destdir,
GtkWidget *widget,
GdkDragContext *context,
G_GNUC_UNUSED GdkDragContext *context,
int x,
int y,
guint time)
G_GNUC_UNUSED guint time)
{
char *name;
gboolean result;