~ubuntu-branches/ubuntu/maverick/gimp/maverick-security

« back to all changes in this revision

Viewing changes to plug-ins/common/sphere-designer.c

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2009-08-14 09:57:17 UTC
  • mto: (1.1.21 upstream) (0.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20090814095717-37dh2xqy5t0rurpk
ImportĀ upstreamĀ versionĀ 2.6.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
2093
2093
      g_free (name);
2094
2094
 
2095
2095
      rebuildlist ();
2096
 
      restartrender ();
2097
2096
    }
2098
2097
 
2099
2098
  gtk_widget_hide (dialog);
2504
2503
      vset (&s.com.texture[2].translate, 15, 15, -15);
2505
2504
 
2506
2505
      gtk_list_store_clear (GTK_LIST_STORE (gtk_tree_view_get_model (texturelist)));
2507
 
      restartrender ();
 
2506
 
 
2507
      rebuildlist ();
2508
2508
      break;
2509
2509
 
2510
2510
    case GTK_RESPONSE_OK:
3034
3034
  memset (img, 0, PREVIEWSIZE * PREVIEWSIZE * 3);
3035
3035
  makewindow ();
3036
3036
 
3037
 
  if (!s.com.numtexture)
3038
 
    sphere_response (NULL, RESPONSE_RESET, NULL);
3039
 
 
3040
 
  rebuildlist ();
 
3037
  if (s.com.numtexture == 0)
 
3038
    {
 
3039
      /* Setup and use default list */
 
3040
      sphere_response (NULL, RESPONSE_RESET, NULL);
 
3041
    }
 
3042
  else
 
3043
    {
 
3044
      /* Reuse the list from a previous invocation */
 
3045
      rebuildlist ();
 
3046
    }
3041
3047
 
3042
3048
  gtk_main ();
3043
3049