comparison src/scrollbar-gtk.c @ 2286:04bc9d2f42c7

[xemacs-hg @ 2004-09-20 19:18:55 by james] Mark all unused parameters as unused. Also eliminate some unneeded local variables.
author james
date Mon, 20 Sep 2004 19:20:08 +0000
parents 23d90a805259
children 3d8143fc88e1
comparison
equal deleted inserted replaced
2285:914c5afaac33 2286:04bc9d2f42c7
73 /* It won't hurt to hide it all the time, will it? */ 73 /* It won't hurt to hide it all the time, will it? */
74 gtk_widget_hide_all (SCROLLBAR_GTK_WIDGET (instance)); 74 gtk_widget_hide_all (SCROLLBAR_GTK_WIDGET (instance));
75 } 75 }
76 76
77 static gboolean 77 static gboolean
78 scrollbar_drag_hack_cb (GtkWidget *w, GdkEventButton *ev, gpointer v) 78 scrollbar_drag_hack_cb (GtkWidget *UNUSED (w), GdkEventButton *UNUSED (ev),
79 gpointer v)
79 { 80 {
80 vertical_drag_in_progress = (int) v; 81 vertical_drag_in_progress = (int) v;
81 inhibit_slider_size_change = (int) v; 82 inhibit_slider_size_change = (int) v;
82 return (FALSE); 83 return (FALSE);
83 } 84 }
470 0, (GdkWindow *) NULL); 471 0, (GdkWindow *) NULL);
471 } 472 }
472 473
473 #ifdef MEMORY_USAGE_STATS 474 #ifdef MEMORY_USAGE_STATS
474 static int 475 static int
475 gtk_compute_scrollbar_instance_usage (struct device *d, 476 gtk_compute_scrollbar_instance_usage (struct device *UNUSED (d),
476 struct scrollbar_instance *inst, 477 struct scrollbar_instance *inst,
477 struct overhead_stats *ovstats) 478 struct overhead_stats *ovstats)
478 { 479 {
479 int total = 0; 480 int total = 0;
480 481