Mercurial > pidgin.yaz
diff pidgin/plugins/crazychat/cc_features.c @ 31534:a8cc50c2279f
Remove trailing whitespace
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Tue, 04 Jan 2011 06:55:30 +0000 |
| parents | a2b4eac83902 |
| children |
line wrap: on
line diff
--- a/pidgin/plugins/crazychat/cc_features.c Tue Jan 04 06:42:45 2011 +0000 +++ b/pidgin/plugins/crazychat/cc_features.c Tue Jan 04 06:55:30 2011 +0000 @@ -116,7 +116,7 @@ /*pthread_t userinput_t; // should we put this in a nicer wrapper?*/ struct draw_info *info; - struct input_instance *instance; + struct input_instance *instance; info = (struct draw_info*)malloc(sizeof(*info)); assert(info); memset(info, 0, sizeof(*info)); @@ -196,7 +196,7 @@ hbox = gtk_hbox_new(TRUE, 0); gtk_box_pack_start(GTK_BOX(ret.vbox), hbox, FALSE, FALSE, 0); gtk_widget_show(hbox); - + glist = NULL; glist = g_list_append(glist, "Red"); glist = g_list_append(glist, "Dark Brown"); @@ -306,7 +306,7 @@ /*** OpenGL BEGIN ***/ if (!gdk_gl_drawable_gl_begin(gldrawable, glcontext)) return FALSE; - + /* Undo all of the Model lighting here*/ @@ -329,8 +329,8 @@ glLoadIdentity(); - - + + gdk_gl_drawable_gl_end(gldrawable); /*** OpenGL END ***/ @@ -352,7 +352,7 @@ } else if (!strcmp(string, "Shark")) { features->kind = 1; } - + material_set(GTK_ENTRY(GTK_COMBO(instance->head)->entry), &features->head_color); material_set(GTK_ENTRY(GTK_COMBO(instance->appendage)->entry), @@ -369,7 +369,7 @@ } else { instance->face.mode = 0; } - + if (mode_change>0){ mode_change--; config_wrapper(widget, event, data); @@ -392,7 +392,7 @@ // fprintf(stderr, "We're fucked this time.\n"); return FALSE; } - + glClearColor(0.0, 0.0, 0.0, 0.0); glClear(GL_COLOR_BUFFER_BIT); @@ -402,11 +402,11 @@ gdk_gl_drawable_swap_buffers(gldrawable); else glFlush(); - + gdk_gl_drawable_gl_end(gldrawable); - + /*** OpenGL END ***/ - + return TRUE; }
