Commit 5694bcb0 authored by Daniel Egger's avatar Daniel Egger Committed by Daniel Egger

Remove unused static function. (xpm_skip_string): Dito.

2001-11-14  Daniel Egger  <degger@fhm.edu>

	* gdk-pixbuf/io-xpm.c:
	(xpm_skip_whitespaces): Remove unused static function.
	(xpm_skip_string): Dito.
	(xpm_extract_color): Declare const variable const to avoid warnings.

	* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.

	* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.

	* gtk/gtksocket.c: Change type of mask to g_message to %ld for
	a long.
parent 82a6dc93
2001-11-14 Daniel Egger <degger@fhm.edu>
* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.
* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
......
2001-11-14 Daniel Egger <degger@fhm.edu>
* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.
* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
......
2001-11-14 Daniel Egger <degger@fhm.edu>
* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.
* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
......
2001-11-14 Daniel Egger <degger@fhm.edu>
* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.
* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
......
2001-11-14 Daniel Egger <degger@fhm.edu>
* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.
* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
......
2001-11-14 Daniel Egger <degger@fhm.edu>
* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.
* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
......
2001-11-14 Daniel Egger <degger@fhm.edu>
* gdk-pixbuf/io-xpm.c:
(xpm_skip_whitespaces): Remove unused static function.
(xpm_skip_string): Dito.
(xpm_extract_color): Declare const variable const to avoid warnings.
* gtk/gtkfixed.c: (gtk_fixed_map): Remove unused static function.
* gtk/gtkplug.c: #if 0'ed prototype for #if 0'ed code.
* gtk/gtksocket.c: Change type of mask to g_message to %ld for
a long.
Wed Nov 14 15:14:48 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcontainer.c (gtk_container_idle_sizer): Back
......
......@@ -1070,39 +1070,17 @@ xpm_read_string (FILE *infile, gchar **buffer, guint *buffer_size)
return ret;
}
static const gchar *
xpm_skip_whitespaces (const gchar *buffer)
{
gint32 index = 0;
while (buffer[index] != 0 && (buffer[index] == 0x20 || buffer[index] == 0x09))
index++;
return &buffer[index];
}
static const gchar *
xpm_skip_string (const gchar *buffer)
{
gint32 index = 0;
while (buffer[index] != 0 && buffer[index] != 0x20 && buffer[index] != 0x09)
index++;
return &buffer[index];
}
static gchar *
xpm_extract_color (const gchar *buffer)
{
const gchar *p = &buffer[0];
gint new_key = 0;
gint key = 0;
gint current_key = 1;
gint space = 128;
gchar word[128], color[128], current_color[128];
gchar *r, *p;
p = &buffer[0];
gchar *r;
word[0] = '\0';
color[0] = '\0';
current_color[0] = '\0';
......
......@@ -303,30 +303,6 @@ gtk_fixed_get_child_property (GtkContainer *container,
}
}
static void
gtk_fixed_map (GtkWidget *widget)
{
GtkFixed *fixed;
GtkFixedChild *child;
GList *children;
GTK_WIDGET_SET_FLAGS (widget, GTK_MAPPED);
fixed = GTK_FIXED (widget);
children = fixed->children;
while (children)
{
child = children->data;
children = children->next;
if (GTK_WIDGET_VISIBLE (child->widget) &&
!GTK_WIDGET_MAPPED (child->widget))
gtk_widget_map (child->widget);
}
gdk_window_show (widget->window);
}
static void
gtk_fixed_realize (GtkWidget *widget)
{
......
......@@ -61,7 +61,9 @@ static GdkFilterReturn gtk_plug_filter_func (GdkXEvent *gdk_xev
GdkEvent *event,
gpointer data);
#if 0
static void gtk_plug_free_grabbed_keys (GHashTable *key_table);
#endif
static void handle_modality_off (GtkPlug *plug);
static void send_xembed_message (GtkPlug *plug,
glong message,
......
......@@ -1071,7 +1071,7 @@ send_xembed_message (GtkSocket *socket,
guint32 time)
{
GTK_NOTE(PLUGSOCKET,
g_message ("GtkSocket: Sending XEMBED message of type %d", message));
g_message ("GtkSocket: Sending XEMBED message of type %ld", message));
if (socket->plug_window)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment