summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-12-04 07:50:44 +0000
committerGuy Harris <guy@alum.mit.edu>2007-12-04 07:50:44 +0000
commit353d921d66a14d95e6cd99a9816a0632fb2b736a (patch)
tree8fed17e69b7c4e6e1fbd1bd8c121e26e01a78e7c /gtk
parentd226610d555988a491bc6ff11ebd1c63a1a41d7a (diff)
downloadwireshark-353d921d66a14d95e6cd99a9816a0632fb2b736a.tar.gz
Clean up indentation.
svn path=/trunk/; revision=23745
Diffstat (limited to 'gtk')
-rw-r--r--gtk/conversations_table.c10
-rw-r--r--gtk/expert_comp_table.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/gtk/conversations_table.c b/gtk/conversations_table.c
index eaddc27d18..493f17d460 100644
--- a/gtk/conversations_table.c
+++ b/gtk/conversations_table.c
@@ -684,14 +684,14 @@ ct_select_filter_cb(GtkWidget *widget _U_, gpointer callback_data, guint callbac
static gint
ct_show_popup_menu_cb(void *widg _U_, GdkEvent *event, conversations_table *ct)
{
- GdkEventButton *bevent = (GdkEventButton *)event;
+ GdkEventButton *bevent = (GdkEventButton *)event;
gint row;
gint column;
/* To quote the "Gdk Event Structures" doc:
* "Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button" */
- if(event->type==GDK_BUTTON_PRESS && bevent->button==3){
+ if(event->type==GDK_BUTTON_PRESS && bevent->button==3){
/* if this is a right click on one of our columns, select it and popup the context menu */
if(gtk_clist_get_selection_info(ct->table,
(gint) (((GdkEventButton *)event)->x),
@@ -700,12 +700,12 @@ ct_show_popup_menu_cb(void *widg _U_, GdkEvent *event, conversations_table *ct)
gtk_clist_unselect_all(ct->table);
gtk_clist_select_row(ct->table, row, -1);
- gtk_menu_popup(GTK_MENU(ct->menu), NULL, NULL, NULL, NULL,
- bevent->button, bevent->time);
+ gtk_menu_popup(GTK_MENU(ct->menu), NULL, NULL, NULL, NULL,
+ bevent->button, bevent->time);
}
}
- return FALSE;
+ return FALSE;
}
static GtkItemFactoryEntry ct_list_menu_items[] =
diff --git a/gtk/expert_comp_table.c b/gtk/expert_comp_table.c
index 66a6ac6d2a..e361ae4510 100644
--- a/gtk/expert_comp_table.c
+++ b/gtk/expert_comp_table.c
@@ -343,7 +343,7 @@ error_select_filter_cb(GtkWidget *widget _U_, gpointer callback_data, guint call
* So regardless of the type we will just bring up the find window and allow
* the user to modify the search criteria and options.
*/
- find_frame_with_filter(str);
+ find_frame_with_filter(str);
break;
case 3:
/* find next */